Skip to content

Type Alias: PositionIdx ​

ts
type PositionIdx = 0 | 1 | 2;

Position index. Used to identify positions in different position modes.

  • 0 one-way mode position
  • 1 Buy side of hedge-mode position
  • 2 Sell side of hedge-mode position

Built by Siebly. Open source SDKs for exchange APIs.