Hi,

I'm having a problem in backtesting mode.

It shows : Runtime Error: 'AAPL' wasn't found in the TradeBars object, likely because there was no-data at this moment in time and it wasn't possible to fillforward historical data. Please check the data exists before accessing it with data.ContainsKey("AAPL")

How ever I think I've difine the security already. 
Thanks.

James