User rating: 0
Joined: Wed 18 May, 2011, 08:40 Posts: 43 Location: RU
|
Calling context.getAcount().getEquity() equity in onStart() method when running a strategy in historical testing mode returns 0 although the equity is 5000
public void onStart(IContext context) throws JFException { ... context.getAcount().getEquity(); }
The same call returns correct equity when testing in live mode.
|
|