PendingOrderType


Summary

Represents the type (Limit or Stop) of pending order.

Syntax

public sealed enum PendingOrderType

Members

NameTypeSummary
Limit FieldA limit order is an order to buy or sell at a specific price or better.
Stop FieldA stop order is an order to buy or sell once the price of the symbol reaches a specified price.
StopLimit FieldA 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;
}