Just want to get feedback on what you do to develop and test a strategy. What mean is, what is your iteration in developing and debugging code? I'm asking from the standpoint that you already have the basic code in place and you are using the Playback Connection.
Let me provide you with what I do:
- Code/Update the strategy.
- Compile the code. (I'm using Visual Studio because the code completion is really good. I like that NT8 will automatically compile the code when I save the file in VS. I think a NT Script window with the code needs to be open for this.)
- On the chart, open the Strategies window.
- Remove the strategy I'm working on from the chart and click OK. This is to remove the previous version. I assume this is a necessary step.
- Reset the playback timer to the begging (or the desired date). This can take some few moments/minutes.
- Add the strategy again and check Enable. Click OK. This is adding the latest version.
- Begin playback, monitoring the NT Output Window for my Print statement feedback and any errors.
- Repeat 1 through 7 as I find code logic errors or areas of code and/or strategy that need improving
Thanks,
Matt
Comment