PendingOrder.ProtectionType
property · PendingOrder · cAlgo.API Since 5.1
DesktopCLICloud
Gets the order protection type.
Definition
ProtectionType ProtectionType {get;}
pendingOrder.ProtectionType: ProtectionType
Returns ProtectionType
Examples
foreach (var order in PendingOrders)
Print("Order {0} protection type: {1}", order.Id, order.ProtectionType);
for order in api.PendingOrders:
api.Print(f"Order {order.Id} protection type: {order.ProtectionType}")