PDA

View Full Version : Add("SP500", PeriodType.Minute, 5)


Jenny
07-26-2007, 07:24 PM
Ray,

When I try to add sp500, I have problem.

Add("SP500", PeriodType.Minute, 5)

Error is,

Add() method with an invalid instrument. Either 'SP500' does not exist in the Instrument Manager or the specified exchange has not been configured.

Could you please tell me how to add this index.

Thanks

NinjaTrader_Josh
07-26-2007, 09:38 PM
This happens to me for any index too. Hmm.

NinjaTrader_Dierk
07-27-2007, 01:33 AM
You would need to note the index as you see it e.g. in your default instrument list: ^SP500

Add("^SP500", PeriodType.Minute, 5)