Exemplo n.º 1
0
        public void OnQuoteAdded(MtQuote quote)
        {
            Log.DebugFormat("OnQuoteAdded: begin. quote = {0}", quote);

            QuoteAdded?.Invoke(quote);

            Log.Debug("OnQuoteAdded: end.");
        }
Exemplo n.º 2
0
        private async Task <Quote_ViewModel> PushQuoteToList(ContractDetails_ViewModel cd_vm, List <Bar> closePricesList)
        {
            Quote_ViewModel retQuote_vm;

            retQuote_vm = new Quote_ViewModel(0, cd_vm);
            retQuote_vm.SetClosedValues(closePricesList);

            QuoteAdded?.Invoke(this, new Quote_EventArgs(retQuote_vm));

            await Task.CompletedTask;

            return(retQuote_vm);
        }
Exemplo n.º 3
0
        public void OnQuoteAdded(MtQuote quote)
        {
            Debug.WriteLine("[INFO] MtClient::OnQuoteAdded");

            QuoteAdded?.Invoke(quote);
        }