internal void OnUpdateQuotes(string securityId, int row, int rowCount, double bidPrice, double bidVolume, double askPrice, double askVolume) { QuoteChanged.SafeInvoke(securityId, row, rowCount, bidPrice.ToDecimal(), bidVolume.ToDecimal(), askPrice.ToDecimal(), askVolume.ToDecimal()); }
private void FireOnQuoteChanged(MtQuote quote) { QuoteChanged?.Invoke(this, quote); }
protected virtual void OnQuoteChanged(EventArgs e) { //bubble up event to notify view models and ui that quotes have changed QuoteChanged?.Invoke(this, e); }
internal void OnUpdateQuotes(string securityId, int row, int rowCount, double bidPrice, double bidVolume, double askPrice, double askVolume) { QuoteChanged.SafeInvoke(securityId, row, rowCount, SafeCast(bidPrice), SafeCast(bidVolume), SafeCast(askPrice), SafeCast(askVolume)); }