Access to pending orders
Created at 29 May 2018, 23:43
Access to pending orders
29 May 2018, 23:43
Good night,
how can i access to pending orders to create return to "Max pending orders", something like this opened positions return:
var myPositions = Positions.FindAll(Label, Symbol); if (myPositions.Length > 0) { return; }
Thank you so much!
Replies
DelFonseca
30 May 2018, 22:51
RE:
Panagiotis Charalampous said:
Hi DelTrader,
You can use PendingOrders property.
Best Regards,
Panagiotis
Thank you so much !!!!
Solved:
var TotalPendingOrders = PendingOrders.Count; if (TotalPendingOrders > 0) { return; }
@DelFonseca
PanagiotisCharalampous
30 May 2018, 11:02
Hi DelTrader,
You can use PendingOrders property.
Best Regards,
Panagiotis
@PanagiotisCharalampous