Trades

Evaluate a candidate intent against policy

Policy calculator: evaluate a candidate order against the caller's execution policy WITHOUT writing any rows. If broker_connection_id is supplied, the route reads that active broker account snapshot for equity/PnL/open-position gates; otherwise it uses the optional account override or a placeholder. Free users can call this — it's a calculator, not an order. Requires read scope.

post/v1/trades/dry-run

Request

  • Base URL: https://api.marketintell.ai
  • URL: https://api.marketintell.ai/v1/trades/dry-run
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

symbolstring required
side'buy' | 'sell' required
notional_centsinteger
qtynumber
limit_pricenumber
stop_pricenumber
broker_connection_idstring uuid

Optional active broker connection to use for live account equity/PnL/open-position policy gates.

Response

Policy-check result

successboolean

Changes