/// <summary> /// Updates prices using an aggregator /// </summary> /// <param name="quotes">A dictionary of prices from various feeds.</param> internal static void UpdatePrice(Dictionary <String, Quote[]> quotes) { // Update the prices of each of the feeds found in the aggregator. PriceService.UpdateCanadaTickerPrice(quotes["CA TICKER"]); PriceService.UpdateUnitedKingdomTickerPrice(quotes["UK TICKER"]); PriceService.UpdateUnitedStatesTickerPrice(quotes["US TICKER"]); }
public void UpdateCanadaTickerPrice(Quote[] quotes) { // Update the price using the US ticker. PriceService.UpdateCanadaTickerPrice(quotes); }