paper_trade
Simulate a market fill at a caller-supplied same-currency price with explicit fees and slippage. Idempotent and revision-guarded. No live order is submitted; short/negative-cash positions are arithmetic only.
Instructions
Simulate a market fill at a caller-supplied same-currency price with explicit fees and slippage. Idempotent and revision-guarded. No live order is submitted; short/negative-cash positions are arithmetic only.
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": {
"account_id": "<account_id>",
"expected_revision": "<expected_revision>",
"symbol": "<symbol>",
"side": "<side>",
"quantity": "<quantity>",
"price": "<price>",
"idempotency_key": "<idempotency_key>"
},
"name": "paper_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| price | Yes | ||
| symbol | Yes | ||
| quantity | Yes | ||
| account_id | Yes | Local simulation account ID | |
| commission | No | ||
| slippage_bps | No | ||
| idempotency_key | Yes | ||
| expected_revision | Yes |