0
0
I am trying to create a graph to moniter order data, similar to:
http://www.cryptocoincharts.info/orderbook.php?pair=pc-btc&market=bittrex
I am using the cryptsy api (http://pubapi.cryptsy.com/api.php?method=orderdatav2) to fetch all the order data and for each coins it returns some thing like:
"price": "395.00000000",
"quantity": "0.00100000",
"total": "0.39500000"
The question that I have is, is there any formula or some thing to calculate bid and ask, so that I can plot the graph?
Thanks.
So, for each coin pairs, I will have to check every sellorder for the lowest price and every buyorder for highest price and together that one point gives a point to plot the graph as in the link given in my question? – Criesto – 2014-07-02T11:03:42.803
Well... To plot that graph, yes you need to go through all orders. Any point in the graph shows the total amount of orders up to that price. – Emre Kenci – 2014-07-02T11:46:16.973