View Full Version : Strategy Selection is Always Empty
wdevauld
03-11-2010, 03:46 PM
I have been trying to follow the tutorial from the user's manual to create a strategy and backtest it. I can see that it knows about the strategies that I have created, as they are listed in the Strategy Analyzer's tree, but when I select backtest on an Instrument, the list of strategies is always empty.
The attached screenshots demonstrate what I'm talking about.
I'm running off a 'NinjaTrader for Free!' license, and the website says that the free version support strategy development and backtesting. What am I missing?
wdevauld
03-11-2010, 04:26 PM
I took a look in the log, and it is littered with:
11/03/2010 16:21 Default Unable to create instance of 'NinjaTrader.Strategy.Experiment'. Most likely there is no default constructor defined or the default constructor does not work correctly: Exception has been thrown by the target of an invocation.
NinjaTrader_Josh
03-11-2010, 04:30 PM
Have you compiled your strategies? You need to press F5 in the NinjaScript Editor to compile them. Any errors in the Control Center logs?
wdevauld
03-11-2010, 04:31 PM
Yes, I did compile the strategies. I'm attempting a re-install of NT to see if that fixes it.
Wouldn't the demonstration strategies that come with NT still be in the list?
NinjaTrader_Josh
03-11-2010, 04:39 PM
Not when there is an error. The whole NinjaScript assembly needs to all work for it to work.
wdevauld
03-11-2010, 05:37 PM
I uninstalled NT, and removed the NinjaTrader6.5 folder from My Documents.
Reboot.
Windows Update
Reboot.
Install from fresh executable from the website, put in license key.
Connected to the Simulated Data Feed
Went straight to the strategy analyzer and tried to Backtest on AAPL, again the strategy list is empty.
Again the log has an entry:
Unable to create instance of 'NinjaTrader.Strategy.SampleMultiTimeFrame'. Most likely there is no default constructor defined or the default constructor does not work correctly: Exception has been thrown by the target of an invocation.
I'm running .NET Framework 3.5 SP1
I'm going to try the installation on another PC later tonight, and see if it is related to just this computer.
Can you think of anything else I could try?
wdevauld
03-11-2010, 05:43 PM
I have the following .NET Frameworks installed:
-Microsoft .NET Framework 2.0 Service Pack 2
-Microsoft .NET Framework 3.0 Service Pack 2
-Microsoft .NET Framework 3.5 SP1
NinjaTrader_Bertrand
03-12-2010, 05:03 AM
Is NT possibly installed on a network drive?
http://www.ninjatrader-support2.com/vb/showthread.php?t=2441
If not, then please contact us via Help > Mail to Support so we can send you instructions for a fresh reinstall of latest .NET
Thanks
wdevauld
03-12-2010, 01:24 PM
Bertrand, you nailed it. The 'My Documents' folder is a network mount, so following the instructions in that other tread fixed me up. Thanks for your time.
-W
NinjaTrader_Bertrand
03-12-2010, 01:31 PM
Great to hear, have a good weekend.