Bot's results
Created at 28 Mar 2018, 11:28
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
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