I'm running the simple OnMarketUpdate() sample code:
protected override void OnMarketData(MarketDataEventArgs e) { // Print some data to the Output window if (e.MarketDataType == MarketDataType.Last) Print("Last = " + e.Price + " " + e.Volume); else if (e.MarketDataType == MarketDataType.Ask) Print("Ask = " + e.Price + " " + e.Volume); else if (e.MarketDataType == MarketDataType.Bid) Print("Bid = " + e.Price + " " + e.Volume); }
Also sometime when I start to run the strategy I don't get any Quotes.
Please Advice.
Roy
Comment