IAccount.getEquity() returns 0 in beginning of demo-run
RoadRunner
Post subject: IAccount.getEquity() returns 0 in beginning of demo-run
Post rating: 0
Posted: Mon 02 Mar, 2009, 12:54
User rating: 3
Joined: Wed 18 May, 2011, 16:25 Posts: 331 Location: SwitzerlandSwitzerland
I have the problem, that in demo mode in the beginning of a run getEquity() returns 0. I would like to calculate the volume for the first trade as a function of the equity.
How can I get the correct equity at the beginning of a run?
Thanks, R.
API Support
Post subject: Re: IAccount.getEquity() returns 0 in beginning of demo-run