Ejemplo n.º 1
0
        public async Task <StockChartModel> GetRealTimeTradeChartAsync(StockInfoItem stockItem)
        {
            TwseStockClient client = new TwseStockClient();
            var             resutl = await client.QueryRealTimeTradeChartAsync(stockItem.Convert());

            return(resutl);
        }
Ejemplo n.º 2
0
 public void QueryExcehangeChartStockAsyncTest()
 {
     TwseStockClient client    = new TwseStockClient();
     var             stockInfo = new StockInfoModel {
         Id = "2345", MarketType = "上市", Name = "智邦"
     };
     var result = client.QueryRealTimeTradeChartAsync(stockInfo).GetAwaiter().GetResult();
 }