Propose an order
propose_orderSubmit an order for a trading account to be checked against risk rules, held for approval when large, then signed and sent to the venue; the result shows whether it was allowed or rejected.
Instructions
Propose an order on a trading account. The engine checks it against the account's rules and, when allowed, signs and sends it to the venue; the decision says what happened. A limit order needs a price; a market order is priced at the engine's mark. Sizes and prices are decimal strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| size | Yes | Quantity as a decimal string. | |
| price | No | Limit price as a decimal string; not for a market order. | |
| symbol | Yes | The venue's symbol: BTC on Hyperliquid, BTCUSDT on Binance. | |
| leverage | No | Leverage as a decimal string, where the venue takes it per order. | |
| orderType | No | limit (default) or market. | |
| reduceOnly | No | The order may only reduce the position (an exit). | |
| validForSeconds | No | How long the proposal stands, at most 86400; default 60. An order parked for a person past it expires. | |
| tradingAccountId | Yes | The trading account (ta_…). |