Spot Trading
Create stop-market order
The endpoint creates a stop-market trading order. The order remains inactive until the market price reaches the activation_price, at which point the system executes a market order immediately at the best available price. For buy orders, amount represents the total in quote currency and activation triggers when the market price rises to or above activation_price. For sell orders, amount represents the quantity in base currency and activation triggers when the market price falls to or below activation_price. Minimum and maximum values are market-dependent. Query GET /api/v4/public/markets for minAmount, minTotal, and maxTotal.
<Warning> Rate limit: 10000 requests/10 sec. </Warning> <Accordion title="Error Codes"> - `30` - default validation error code - `31` - market validation failed - `32` - amount validation failed - `36` - clientOrderId validation failed </Accordion> <Accordion title="Errors">post/api/v4/order/stop_market
Request
- Base URLhttps://whitebit.com
- AuthAPI key in header X-TXC-APIKEY and API key in header X-TXC-PAYLOAD and API key in header X-TXC-SIGNATURE
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Changes
No recorded changes to this operation across all 1 revision of this API.