Bot's results

Created at 28 Mar 2018, 11:28
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!
alexander.n.fedorov's avatar

alexander.n.fedorov

Joined 02.01.2018

Bot's results
28 Mar 2018, 11:28


Dear Pangiotis,

I know how to find the account balance and equity. I know how to find position pips, or profit

But I do not know how to find the result of the cBot as whole.

It could be different Bots, running on the account, even on the same Symbol.

Let us assume, that in a cBot it was multiple trades opened and closed  and open again, etc.

The only way I could think of is the position close event will add to a running P&L 

+ have to cycle every open position of the cBot.

But isn't there a better way?

Regards,

Alexander

 

 

 


@alexander.n.fedorov
Replies

PanagiotisCharalampous
28 Mar 2018, 11:33

Hi Alexander,

cAlgo.API does not provide this information therefore, as you correctly assumed, you need to calculate this information yourself. What you have described sounds as a reasonable approach.

Best Regards,

Panagiotis


@PanagiotisCharalampous

alexander.n.fedorov
28 Mar 2018, 11:46

Thank you, Pangiotis! 

:(


@alexander.n.fedorov