public void TickerSymbolChanged(string newTickerSymbol)
        {
            MarketHistoryCollection newHistoryCollection = marketHistoryService.GetPriceHistory(newTickerSymbol);

            TickerSymbol      = newTickerSymbol;
            HistoryCollection = newHistoryCollection;
        }
Пример #2
0
        public void OnTickerSymbolSelected(string tickerSymbol)
        {
            MarketHistoryCollection historyCollection = _marketHistoryService.GetPriceHistory(tickerSymbol);

            View.UpdateLineChart(historyCollection);
            View.SetChartTitle(tickerSymbol);
        }