Summary
Represents the type (Limit or Stop) of pending order.
Syntax
public sealed enum PendingOrderType
Members
Name | Type | Summary |
---|---|---|
Limit | Field | A limit order is an order to buy or sell at a specific price or better. |
Stop | Field | A stop order is an order to buy or sell once the price of the symbol reaches a specified price. |
StopLimit | Field | A stop limit order is an order to buy or sell once the price of the symbol reaches specific price. Order has a parameter for maximum distance from that target price, where it can be executed. |
Example 1
if(PendingOrders.Count > 0) { PendingOrderType type = PendingOrders[0].OrderType; }