private void SelectedStockChenged(object sender, EventArgs e) { Plot.Update(ref MarketData.GetData()); }
private void PlotCanvas_SizeChanged(object sender, SizeChangedEventArgs e) { Update(ref MarketData.GetData()); }
private void InitializeMarketData() { MarketData.Initialize(); MarketData.LogMessage += LogMessage; }
private void LegendCanvas_SizeChanged(object sender, SizeChangedEventArgs e) { Update(ref MarketData.GetData(), AlpacaData.GetAccountData(), AlpacaData.GetPositionns()); }