NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 01-26-2011, 01:08 PM   #1
Mannygags
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default Can't load instrument into Strategy

Hi. I am running Ninja7 in simulation mode. I am able to run strategies from the strategy tab and they seem to functioning properly. The one issue I am currently having is that I am unable to run the strategy on IWM or EFA. No matter how I try to select these instruments, the strategy just seems seems to ignore them and reload whichever instrument is in the drop down. I have these two instruments running in my market analyzer, no problem. I can load them up on my charts, I can back test them, no problem. But when I try to load them into a live strategy, it basically kicks them out.

Thoughts? Help

Thanks
Mannygags is offline  
Reply With Quote
Old 01-26-2011, 01:22 PM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello Mannygags,

Have you added these instruments to your default list so that they are easily selectable from the New Strategy interface or are you manually locating them?

Are there any error messages noted in log tab of control center?
NinjaTrader_RyanM is offline  
Reply With Quote
Old 01-26-2011, 01:30 PM   #3
Mannygags
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks for the quick response. I have tried adding them to an alternate instrument list that I had created, and that did not work. I just tried adding them to the default list and that did not work either. I have also tried to manually type them in, no luck.

Any other possible suggestions?
Mannygags is offline  
Reply With Quote
Old 01-26-2011, 01:32 PM   #4
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Are there any error messages noted in log tab of control center?
NinjaTrader_RyanM is offline  
Reply With Quote
Old 01-26-2011, 01:42 PM   #5
Mannygags
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

Not that I could tell.

I went back to the instrument list and deleted all instruments from 'default' except for IWM and EFA. I tried to load the instrument list into the strategy and received the following error "Failed to execute DB job 'StrategyUpdateJob': Object reference not set to an instance of an object.'

Does this sound like it is related?

This caused quite the error in NT and it now needs to be shut down.
Mannygags is offline  
Reply With Quote
Old 01-26-2011, 01:50 PM   #6
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Can you let us know the version of NinjaTrader you're using? Check with Help > About

The error message is possibly related. It points to database corruption. Please follow these steps to rename your database so that NinjaTrader creates a new one. When you rename database, you lose trade executions, and saved atm strategy templates.


To rename the DB:

* Shutdown NinjaTrader and Go to the Start Menu
* Select My Documents--> NinjaTrader 7--> DB--> NinjaTrader.SDF.
* Right click on NinjaTrader.SDF and select "Rename."
* Name it "OLDNinjaTrader.SDF."
* Then restart the software.
Last edited by NinjaTrader_RyanM; 01-26-2011 at 02:01 PM.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 01-26-2011, 01:56 PM   #7
Mannygags
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

I am running NT 7.0.1000.2

When you say historical data, does that include market replay data?
Mannygags is offline  
Reply With Quote
Old 01-26-2011, 01:58 PM   #8
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

No, historical data is no longer stored in the NinjaTrader 7 database. That disclaimer applied to NinjaTrader 6.5 database only.

Market replay is stored in the db folder, but not this file.

Please let us know how it works out once you rename the database.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 01-26-2011, 02:12 PM   #9
Mannygags
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

Didn't seem to work. I just tried resetting and repairing the DB, no help. Would it make sense to delete from the instrument list and then try to reload?
Mannygags is offline  
Reply With Quote
Old 01-26-2011, 02:36 PM   #10
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Repair and reset are separate processes. Can you please confirm you renamed the database?

We're not familiar with issues running a strategy on specific instruments so it would be good to see how everything is setup with a remote assistance connection. We can set that up through the support email. If you're still having issues, best is to email support@ninjatrader.com Attn: RyanM.
NinjaTrader_RyanM is offline  
Reply With Quote
Old 01-26-2011, 02:42 PM   #11
Mannygags
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

I did rename the DB. Did not have any impact.
Mannygags is offline  
Reply With Quote
Old 01-27-2011, 03:14 PM   #12
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,409
Thanks: 252
Thanked 976 times in 959 posts
Default

Are you still available for a remote session to check into your issues? Or were you able to resolve them already?

Please let us know either way - thanks.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 01-27-2011, 03:34 PM   #13
Mannygags
Member
 
Join Date: Jan 2009
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

I was able to resolve. Tried renaming the DB again and re-installed.

Thanks for your help.
Mannygags is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strategy Optimizer does not load my new strategy dincervolkan Strategy Analyzer 8 11-18-2010 01:25 AM
can not load new strategy qkracer Miscellaneous Support 1 04-24-2010 08:50 AM
Automatic Strategy Load m3power222 Strategy Development 1 06-24-2009 03:53 AM
How much data does a strategy load in strategy tab? stephen_mcse Automated Trading 3 06-10-2009 11:24 AM
Strategy Analyzer Will Not Load Strategy KBJ Strategy Development 4 09-14-2007 12:49 PM


All times are GMT -6. The time now is 06:42 AM.