OrderType enum

The available order types. The required arguments are defined by the Kraken API documentation.

Inheritance
Available extensions

Values

market → const OrderType
const OrderType("market", closeToo: false)
limit → const OrderType
const OrderType("limit")
stopLoss → const OrderType
const OrderType("stop-loss")
takeProfit → const OrderType
const OrderType("take-profit")
stopLossLimit → const OrderType
const OrderType("stop-loss-limit")
takeProfitLimit → const OrderType
const OrderType("take-profit-limit")
trailingStop → const OrderType
const OrderType("trailing-stop")
trailingStopLimit → const OrderType
const OrderType("trailing-stop-limit")
settlePosition → const OrderType
const OrderType("settle-position", closeToo: false)

Properties

closeToo bool
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<OrderType>
A constant List of the values in this enum, in order of their declaration.