paper_open
Open a simulated position at the live price. Simulated money only - no real funds are ever at risk. Requires an API key.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| side | Yes | ||
| symbol | Yes | ||
| dry_run | No | true = validate and price the trade (entry, liquidation, quantity, fees) and write NOTHING | |
| leverage | Yes | 1 to the symbol cap from get_markets | |
| trail_pct | No | Trailing stop distance in percent (0.05-50): the stop follows the best price seen, server-side, even while the bot is offline | |
| margin_usd | Yes | 1 to 100000 | |
| client_order_id | No | Your own id - retrying with the same one returns the first position instead of opening a second |