public override void UpdateOrderBook(int?maxSize = null) { BtcXeRequest orderBookRequest = new BtcXeRequest(OrderBookPath); orderBookRequest.AddParameter("currency", EUR_SYMBOL); Dictionary <string, dynamic> response = ApiPost(orderBookRequest); //Pull the orderbook object from the response response = (Dictionary <string, dynamic>)GetValueFromResponseResult(response, "order-book"); BuildOrderBook(response, "order_amount", "price", maxSize, "ask", "bid"); }
public override void UpdateAvailableBalances() { // Create the authenticated request RestRequest request = new BtcXeRequest(AccountBalanceInfoPath, _apiInfo); Dictionary <string, dynamic> response = ApiPost(request); }