post https://api.connex.trade/api/v1/trading/account
Mandatory to cancel all posted orders and close all existing positions. Unable to change PositionMode with existing orders/positions.
NET means single way, also means buy & sale mode, BOTH means hedge way, also means both mode or long/short mode. Account default is
Request
Name | Type | Mandatory | Description |
---|---|---|---|
exchangeType | String | Y | Exchange, Binance / OKX |
positionMode | String | Y | NET / BOTH ,NET is one way (buy & sale)mode; BOTH is hedge (long/short) mode. |