OrderRange class

The contract terms packed into an order ID (deepbook_predict::order). Tick 0 as the lower bound is −∞ and POS_INF_TICK as the higher is +∞; multiply a finite tick by the market's tickSize for its raw strike. Use it to feed a position from read.positions into redeemLiveProceeds.

Constructors

OrderRange({required BigInt lowerTick, required BigInt higherTick, required BigInt quantity})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
higherTick → BigInt
final
lowerTick → BigInt
final
quantity → BigInt
Minted payout: quantity_lots · position_lot_size.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited