Ejemplo n.º 1
0
 private async Task ChartStart()
 {
     await Task.Run(() =>
     {
         GetHistoryCandle();
         dispatcher.InvokeAsync(() =>
         {
             candlestick.SetCandles(candles);
             ChartService.ChartBuild(candles, GridHeight, GridWidth, candles.Last().Close, 2);
         });
     });
 }
Ejemplo n.º 2
0
 private async Task ChartStart()
 {
     await Task.Run(() =>
     {
         GetHistoryCandle();
         GetExchangeInfo();
         dispatcher.InvokeAsync(() =>
         {
             candlestick.SetCandles(candles);
             ChartServ.ChartBuild(candles, SelectedPair, GridHeight, GridWidth, candles.Last().Close, quotePrecision);
         });
     });
 }