arena_preview_order
Simulates an order before placement to estimate fills, fees/rebates, and pre/post margin impact without mutating balances, books, or WAL.
Instructions
Stateless dry-run order simulation via POST /order/preview (zero WAL, L3 book, or balance mutation). Returns estimated fills, resting lots, net fee/rebate, and pre/post Eigen-SPAN IMR/MMR/free margin.
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": {
"side": "<side>"
},
"name": "arena_preview_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stp | No | cancel_resting | |
| tif | No | gtc | |
| side | Yes | ||
| symbol | No | ||
| mark_peg | No | ||
| qty_lots | No | ||
| is_market | No | ||
| market_id | No | ||
| price_usd | No | ||
| account_id | No | ||
| client_tag | No | ||
| oco_linked | No | ||
| amount_base | No | ||
| margin_spot | No | ||
| price_ticks | No | ||
| primary_peg | No | ||
| reduce_only | No | ||
| midpoint_peg | No | ||
| min_qty_lots | No | ||
| trailing_peg | No | ||
| dark_midpoint | No | ||
| auto_flip_ticks | No | ||
| auto_skew_ticks | No | ||
| post_only_slide | No | ||
| differential_usd | No | ||
| display_qty_lots | No | ||
| jit_elastic_mult | No | ||
| peg_offset_ticks | No | ||
| priority_fee_ppm | No | ||
| max_lifetime_wal_seqs | No | ||
| stp_decrement_and_cancel | No |