How to get total number of open buy and sell order?


I want to get total number of buy/sell order which are pending (open) using java websocket api.
I checked in depth object of ticks object but couldn't find any attributes for open orders. Could you please guide?
  • sujith
    sujith edited May 2017
    Hi @krtrader,
    After you subscribe for ticks in full mode, each tick will have depth map like this.

    You can access that like this,
    depthMap.get("buy", buy);
    depthMap.get("sell", sell);
Sign In or Register to comment.