How to retrieve balance
So far I've not seen any strategy looking at the personal balance, or any coding example.
ea all  gains of trades are estimated upon candle.close math

Which is nice but at some point one could be trough all his/her invested money.
So my question how to retrieve the current balance (after a short).

Also where to set the starting balance.

Otherwise, lots of strategies dont make sense, i mean it's nice to have invested 1000 euro.
But when one loses 1500 euro in a trade and then next make 3000 profit then that could never have happened (since you where broke allready).

It seems quite vital to know the current balance.
And i would like to handle this in my strategies.
[....Resistance is futile...]

Forum Jump:

Users browsing this thread: