static async Task TestBinance() { try { var binance = new BinanceApiClient(); // public api // signed api var orders = await binance.GetOpenOrdersAsync(); Debug.Assert(orders.Success); Console.ReadLine(); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
public async Task <IEnumerable <OrderResponse> > GetOpenOrdersAsync(string pair) { var response = await binance.GetOpenOrdersAsync(pair); return(this.BinanceOrderResponseCollectionConverter(response)); }