Skip to main content
Use getOpenPositions() to fetch current positions and the pairId / idx values needed for management calls.
Use these identifiers with:
  • closeTrade()
  • modifyOrder()
  • updateCollateral()