I wrote a complete portfolio back testing software that fits all my needs.
The only problem I have is how I export trades of a multi instrument Backtest.
Right now the only way I found to do it as easy as possible was writing a 'Print' command on both OnExecutionUpdate and OnOrderUpdate, to print all the trades details I need (entry&exit date and price, instrument, trade side, etc.. ) from Performance matrics,
This way I can catch all the trades in a single copy from the output window.
There is a few problems with this method,
1. This can only be done on a coded strategy, and not on a builder strategy, which makes idea creation a bit of a hussle.
2.it is not automatic, which I would much prefer.
__________
The optimal setting for me is to add functionality to the 'Run' button or add a new button beside it, which will start capturing all the trades to a file, and end capturing at the end of the test.
Is there any way to accomplish this outside the strategy code? Anywhere else I can capture orders from market analyzer?
BTW excel export are not good enough as it can't export multi instrument trades in one click.
Thanks in advance
Noam
Comment