OrderType enum
The enum for the possible types of an order
(descriptions found at Binance support website)
Constructors
- OrderType()
-
const
Values
- limit → const OrderType
-
Limit Order allows you to place an order at a specific or a better price. A buy Limit Order will be filled if the price matches or is lower than your limit price, and a sell Limit Order will be filled at or higher than your limit price.
Please note that a Limit Order is not guaranteed to execute.
- market → const OrderType
-
Market orders are matched immediately at the best available price.
- stopLoss → const OrderType
-
Similar to a Stop Limit Order, a Stop Market Order uses a stop price to trigger the trade. However, when the stop price is reached, it triggers a market order instead.
- stopLossLimit → const OrderType
-
A Stop Limit order is a conditional order over a set timeframe, executed at a specified price after a given stop price has been reached. Once the stop price is reached, it will buy or sell at the limit price or at a better price than the limit price you set.
- takeProfit → const OrderType
-
This will execute a Market Order when the given stop price has been reached reached.
- takeProfitLimit → const OrderType
-
This will execute a Limit Order when the given stop price has been reached
- limitMaker → const OrderType
-
This is a LIMIT order that will be rejected if the order immediately matches and trades as a taker. This is also known as a POST-ONLY order.
Properties
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