placeOrder
Execute buy or sell orders on Bitget for spot and futures trading. Automatically detects market type, supports limit and market orders, and manages parameters like quantity, price, and time in force for efficient trading.
Instructions
Place a new buy or sell order (automatically detects spot vs futures)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clientOrderId | No | Client order ID | |
marginCoin | No | Margin coin for futures (default: USDT) | |
marginMode | No | Margin mode for futures (default: crossed) | |
price | No | Order price (required for limit orders) | |
quantity | Yes | Order quantity (in base currency for spot, in contracts for futures) | |
reduceOnly | No | Reduce only flag for futures | |
side | Yes | Order side | |
symbol | Yes | Trading pair symbol (e.g., BTCUSDT for spot, BTCUSDT_UMCBL for futures) | |
timeInForce | No | Time in force | |
type | Yes | Order type |