'NinjaTrader.exe' (Managed (v2.0.50727)): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a 5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'NinjaTrader.exe' (Managed (v2.0.50727)): Loaded 'C:\Program Files (x86)\NinjaTrader 7\bin\NinjaTrader.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Below is the method by which I'm attempting to Add the stocks....
public class StockEntry { public string Name; public PeriodType Period; public int Value; public int Count; public StockEntry(string Name, PeriodType Period, int Value, int Count) { this.Name = Name; this.Period = Period; this.Value = Value; this.Count = Count; } } List<StockEntry> _stocks = new List<StockEntry>(); protected override void Initialize() { _stocks.Add(new StockEntry("ABC", PeriodType.Minute, 5, 0)); _stocks.Add(new StockEntry("ACE", PeriodType.Minute, 5, 0)); _stocks.Add(new StockEntry("ACN", PeriodType.Minute, 5, 0)); _stocks.Add(new StockEntry("ADT", PeriodType.Minute, 5, 0)); _stocks.Add(new StockEntry("SCTY", PeriodType.Minute, 5, 0)); }
Comment