- create a position sizing mechanism, using a variation of the Kelly Criterion, which uses pct win, loss, account size, etc
- create an account equity auto stop, for when all hope is lost
I am not looking for code examples of the Kelly Criterion or account equity stops. I am looking how to get the account information and use it for the account testing process.
Using TradeManager functions, I can get some account info, for instance, balance and equity. This is the actual account info (in my case a demo account), and does not reflect how the strategy performed in testing when applied to a chart. Such as:
Code: Select all
TradeManager.TradingData.Accounts.Items[0].Equity
How can I get this information during the testing process? The documentation is a bit confusing on the matter.