Skip to main content
Use modifyOrder() with the pairId and idx from getOpenPositions().

Important behavior

  • takeProfit only updates TP
  • stopLoss only updates SL
  • do not send both together without price; use two calls