0x02e7B722E178518Ae07a596A7cb5F88B313c453a
_limitPrice
the price for the limit order. _stopPrice
the price for the stop order. _stopPrice
the price for the stop limit order. _limitPrice
the order must also satisfy the limit conditions in order to be valid​
_trail
represents the absolute value of the trail between the price of the asset and the trigger(stop) price. This will clearly be different for different assets._trailPct
This number represents the trail value as a percentage of the asset price (must be between 0 and 1)_trail
is exactly similar to the trailing stop market orders_gap
will specify the gap between the trailing stop price and the trailing limit price. _trailPct
is exactly similar to the trailing stop market orders_gapPct
will specify the gap between the trailing stop price and the trailing limit price as a percentage. order_id
is the id of the order you are attempting to change._newStop
and _newLimit
are functionally similar to the trail and gap parameters discussed above._reserveIndex
is used by the contract to verify previous prices of assets in order to update trailing prices. The ClearingHouse contract keeps a store of previous prices from ReserveSnapshotted. These prices can be queries using getPriceAtSnapshot()