Skip to main content
Function:
ABI Object:
Parameters:
  • signer - The account signer
  • subaccount - The Trading Account object
  • order_id - The TP order ID to update (u128)
  • market - The PerpMarket object
  • tp_trigger_price - Optional new take-profit trigger price `<Option<u64>>`
  • tp_limit_price - Optional new take-profit limit price `<Option<u64>>`
  • tp_size - Optional new take-profit size `<Option<u64>>`
Example: