I hope this post finds you well. I'm working on a project where I'm generating NinjaScript code dynamically and I need to automate the subsequent steps of compiling and backtesting this code. I have two related questions:
- Automated Compilation: I've noticed that when NinjaTrader is open, any changes I make to a .cs file in Visual Studio are automatically compiled. Is there a way to trigger this compilation process programmatically, for example, using a script or command line interface?
- Automated Backtesting: After compiling the new NinjaScript code, I need to run a backtest. Is it possible to execute a command in Visual Studio (or elsewhere) that triggers a backtest in NinjaTrader?
Any guidance, insights, or references would be highly appreciated.
Thank you in advance for your help. I look forward to hearing your thoughts and suggestions.
Best regards, Aviram Y.
Comment