Pre-Trade Check
paradex_pre_trade_checkValidate a trade idea by checking account health, free collateral, position, and market constraints. Returns a ready-to-trade flag with reasons if not ready.
Instructions
Validate a trade idea before submitting an order.
Use this tool when you need to:
- Confirm your account has sufficient free collateral for a trade
- Check whether a given order size is within market limits
- Get current bid/ask and existing position in one call
- Receive a single ready_to_trade flag with human-readable reasons if not ready
Use this instead of calling paradex_account_summary, paradex_account_positions,
paradex_market_summaries, and paradex_markets separately before placing an order.
Returns:
- account_status: account health (ACTIVE, LIQUIDATION, etc.)
- free_collateral: available collateral for new positions
- current_position: existing open position in this market, if any
- bbo: best bid/ask, mark price, and current funding rate
- market_constraints: tick size, min notional, position limit, order size increment
- estimates: fee, slippage, funding cost, and break-even using the account's actual fee tier
- ready_to_trade: True when account is healthy, collateral is positive,
and size is within market limits
- not_ready_reasons: list of reasons why ready_to_trade is False (empty when True)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market_id | Yes | Market symbol, e.g. 'BTC-USD-PERP'. | |
| side | Yes | Order side: 'BUY' or 'SELL'. | |
| size | Yes | Desired order size in base asset units. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market_id | Yes | ||
| side | Yes | ||
| size | Yes | ||
| account_status | Yes | ||
| free_collateral | Yes | ||
| current_position | Yes | ||
| bbo | Yes | ||
| market_constraints | Yes | ||
| estimates | Yes | ||
| ready_to_trade | Yes | ||
| not_ready_reasons | Yes |