Package com.xeiam.xchange.vaultofsatoshi.dto.marketdata

Examples of com.xeiam.xchange.vaultofsatoshi.dto.marketdata.VosDepth


        }
      }
    }

    // Request data
    VosDepth vaultOfSatoshiDepth = getVosOrderBook(currencyPair, round, count, groupOrders);

    // Adapt to XChange DTOs
    List<LimitOrder> asks = VaultOfSatoshiAdapters.adaptOrders(vaultOfSatoshiDepth.getAsks(), currencyPair, "ask", "");
    List<LimitOrder> bids = VaultOfSatoshiAdapters.adaptOrders(vaultOfSatoshiDepth.getBids(), currencyPair, "bid", "");

    return new OrderBook(new Date(vaultOfSatoshiDepth.getTimestamp() / 1000L), asks, bids);
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.vaultofsatoshi.dto.marketdata.VosDepth

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.