This endpoint creates limit order using collateral balance.
For open long position you have to use buy, for short sell. Also to close current position you have to place opposite order with current position amount.
Error Codes
30 - default validation error code31 - market validation failed32 - amount validation failed33 - price validation failed36 - clientOrderId validation failedAPI Key authentication for private endpoints.
Required headers:
Order type. Variables: 'buy' / 'sell'. For open long position use buy, for short sell.
buy, sell Identifier should be unique and contain letters, dashes, numbers, dots or underscores.
An immediate or cancel order (IOC) is an order that attempts to execute all or part immediately and then cancels any unfilled portion.
Defines the position direction when hedge mode is enabled. See positionSide
long, short, both Order created