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.
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 |