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.
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": {
"symbol": "<symbol>",
"side": "<side>",
"type": "<type>",
"quantity": "<quantity>"
},
"name": "place_order"
}
}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 |