how to count all the opened order and closed order and return it to int

Created at 25 Dec 2022, 09:07
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
LE

leokao.com

Joined 09.11.2022

how to count all the opened order and closed order and return it to int
25 Dec 2022, 09:07


how to count all the opened order and closed order and return it to int. thank you


@leokao.com
Replies

PanagiotisChar
27 Dec 2022, 12:01

Hi there,

Current positions are available in Positions and historical trades in History. Both are collections so you can call the Count() method.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar