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

            TickerSymbol      = newTickerSymbol;
            HistoryCollection = newHistoryCollection;
        }
Exemplo n.º 2
0
        public void OnTickerSymbolSelected(string tickerSymbol)
        {
            MarketHistoryCollection historyCollection = _marketHistoryService.GetPriceHistory(tickerSymbol);

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