コード例 #1
0
 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());
 }
コード例 #2
0
 private void FireOnQuoteChanged(MtQuote quote)
 {
     QuoteChanged?.Invoke(this, quote);
 }
コード例 #3
0
ファイル: QuoteEngine.cs プロジェクト: nerd-shark/Farallon
 protected virtual void OnQuoteChanged(EventArgs e)
 {
     //bubble up event to notify view models and ui that quotes have changed
     QuoteChanged?.Invoke(this, e);
 }
コード例 #4
0
 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));
 }