Skip to main content
Function:
ABI Object:
Parameters:
  • signer - The account signer
  • subaccount - The Trading Account object
  • order_id - The SL order ID to update (u128)
  • market - The PerpMarket object
  • sl_trigger_price - Optional new stop-loss trigger price `<Option<u64>>`
  • sl_limit_price - Optional new stop-loss limit price `<Option<u64>>`
  • sl_size - Optional new stop-loss size `<Option<u64>>`
Example: