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.