Create a new trading order
Documentation Index
Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the wallet or sub-wallet associated with the order.
"wallet-12345"
The trading pair symbol (e.g., BTCUSDT).
Refer to the Get Trading pairs endpoint for the list of pair symbol.
"BTCUSDT"
The type of order (market or limit).
market, limit "limit"
The side of the order (buy or sell).
buy, sell "buy"
The amount of the order.
For limit and market-sell orders, it represents the number of base coins. For market-buy orders, it represents the number of quote coins.
"0.1"
A unique client-generated trade ID for the order.
"txn-67890"
The price per unit of the amount for a limit order (required for limit orders).
50000
Time window in unix milliseconds within which the request is valid (e.g., 5000 = 5 seconds).
"5000"