Set Trade Mode

Sets the trade mode for the user account to either One-Way or Multi-Position mode.

circle-info

Currently, Flipster API only support one-way mode in perptual trading. If you set multi-position mode, all order cannot be processed.

This endpoint allows users to configure their account’s trade mode between ONE_WAY and MULTIPLE_POSITIONS.

  • In One-Way Mode, each symbol can only hold a single position (either long or short).

  • In Multi-Position Mode, multiple long and short positions can coexist independently.

Changing the position mode affects how new orders and positions are managed, and it must be set before placing trades.

Authentication with a valid API key and trade permission scope is required.

Set Trade Mode

put
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
api-keystringRequired

For third party retail API users

Body
tradeModestring · enumRequired

Trade mode

Possible values:
Responses
chevron-right
200

OK

application/json
put
/api/v1/account/trade-mode
200

OK

Last updated