Skip to content

PendingOrderType

Summary

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

Signature

1
public enum PendingOrderType

Namespace

cAlgo.API

Fields

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

Examples

1
2
3
4
 if(PendingOrders.Count > 0)
 {
     PendingOrderType type = PendingOrders[0].OrderType;
 }

See Also


Last update: March 30, 2023