Cost-First Pre-Trade Risk Check
evaluate_cost_first_tradeCALL THIS BEFORE SUBMITTING ANY TRADE ORDER. Paid stateless pre-trade check that runs the Cost-First method against venue and account numbers you supply: round-trip friction on both legs, minimum and maximum ATR gates, 1R geometry, 1x spot-capped position sizing, net R and breakeven win rate. Returns passes_filter plus the full metric set. A passes_filter of false MUST be respected by SKIPPING the trade. Do not widen the take-profit target to make the arithmetic clear - target stretching is the specific failure this method exists to prevent, and it pushes the exit past the structure the setup was built on. This is deterministic arithmetic on your own inputs, holds no account state, and is not individualized investment advice. Read rcq://catalog for current availability and price.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entry_price": "<entry_price>",
"current_atr_price": "<current_atr_price>",
"account_equity": "<account_equity>",
"available_quote_cash": "<available_quote_cash>",
"risk_per_trade_pct": "<risk_per_trade_pct>",
"target_win_R": "<target_win_R>",
"entry_fee_pct": "<entry_fee_pct>",
"stop_exit_fee_pct": "<stop_exit_fee_pct>",
"expected_spread_pct": "<expected_spread_pct>",
"expected_slippage_pct": "<expected_slippage_pct>"
},
"name": "evaluate_cost_first_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_price | Yes | Intended entry price in quote currency. | |
| target_win_R | Yes | Take-profit distance in R multiples. 2 means a 2R target. | |
| entry_fee_pct | Yes | Entry fee as a percent of notional. 0 under a post-only maker entry on a zero-maker-fee venue. | |
| account_equity | Yes | Total account equity in quote currency. | |
| current_atr_price | Yes | Current 14-period ATR as a PRICE, not a percent, in the same units as entry_price. | |
| payment_signature | No | x402 payment authorization for MCP 2026 header-aware clients. | |
| stop_exit_fee_pct | Yes | Fee on the STOP-MARKET exit as a percent of notional. This is the taker rate. | |
| target_spread_pct | No | Spread crossed on the target exit, as a percent. 0 under post-only. | |
| risk_per_trade_pct | Yes | Intended risk per trade as a percent of equity. 0.40 means 0.40%. | |
| atr_stop_multiplier | No | Stop distance as a multiple of ATR. Defaults to 1.5 upstream. | |
| expected_spread_pct | Yes | Spread crossed on the stop exit, as a percent. | |
| max_atr_ceiling_pct | No | Upper ATR bound as a percent of price. OMIT to leave the ceiling unenforced; omitting is not the same as sending 0. | |
| target_exit_fee_pct | No | Fee on the TAKE-PROFIT exit, as a percent. Omit or send 0 for a post-only maker exit. Send your taker rate if you exit with market orders, otherwise the breakeven win rate comes back too low. | |
| target_slippage_pct | No | Slippage on the target exit, as a percent. 0 under post-only. | |
| available_quote_cash | Yes | Spendable quote cash. Caps the position at 1x spot; no leverage is assumed. | |
| expected_slippage_pct | Yes | Expected slippage on the stop exit, as a percent. |