place_order
Place a single order on a supported venue. Keys stay inside an AWS Nitro Enclave; policy blocks orders exceeding per-asset caps. Returns the venue order ID on success.
Instructions
Place a single order on the named venue. The Signer enclave will sign the venue-native payload using a key that has never been exported. Policy enforced server-side: orders that exceed per-asset caps are rejected by the enclave before signing. Returns the venue's order_id on success. Side effect: real or testnet trade depending on venue env.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Venue identifier. Must match an entry returned by list_venues — any other value will be rejected by the gateway. | |
| symbol | Yes | Venue-native trading symbol. Examples: BTCUSDT (binance, bybit), BTC-USDT-SWAP (okx), BTC-USD (asterdex), XBTUSDTM (kucoin futures), BTC (hyperliquid_main). Case-sensitive. | |
| side | Yes | buy = long open / short close; sell = short open / long close. | |
| qty | Yes | Order quantity in base asset (e.g. BTC), NOT in USD-notional. Some venues require a minimum (Binance: 0.001 BTC). Refer to venue docs. | |
| type | Yes | market = immediate fill at venue best; limit = resting order at `price`. | |
| price | No | Limit price in quote asset. Required for type=limit, ignored for type=market. | |
| policy_id | No | Optional policy id override. If omitted, the gateway uses the default policy bound to the provided SIGNER_API_TOKEN. |