For the class Data.MarketDataEventArgs that is returned with the callback OnMarketData, I have a question about what we can assume about it.
When e.MarketDataType == Data.MarketDataType.Last (i.e. a last trade occurred) can was assume that the class will be populated with Bid, Ask, etc. or do we need to check for null values of those fields ?
I remember seeing something somewhere that said we can assume these fields are populated when a last trade is fired. It gets messy to have to code in null checks, so wanted to inquire.
Thank you for insights.
Number1
Comment