place_order
Submits limit or market perpetual futures orders on dreamDEX testnet after checking trading status, notional limits, lot/tick rounding, and max order size.
Instructions
Place a perp order on dreamDEX testnet for the server wallet. Guarded: trading must be enabled, notional is capped by MAX_ORDER_NOTIONAL_USD, quantity/price are rounded to the market's lot/tick, and the order is pre-checked with getMaxPerpOrderSize before sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | long = buy/bid, short = sell/ask | |
| type | Yes | market = IOC order priced through the book with slippage | |
| price | No | Limit price in USD per whole base. Required for limit orders. | |
| symbol | Yes | Base symbol, e.g. BTC | |
| quantity | Yes | Order size in whole base units, e.g. '0.001' BTC |