1: Let's use nivo to create a Depth Chart with the results. The line of the left would be the buy options, identified by the tag 'k' = 'buy' and the right line will be the sell options identified but the tag 'k' = 'sell', the x axis will be the value of the tag 'premium'and the y axis will be in BTC, based on the amount ('fa' tag) with the reverse exchange rate applied (the idea is to transform all currencies to BTC). Place this chart right above the filters component

Reply to this note

Please Login to reply.

Discussion

2: A depth chart accumulates x values for both lines Sell and buy starting from the highest values for buy and the lowest values for sell

3: That's better, now let make sure we display the right range for X axis, it should contain min and max based on the min and max found values from all possible orders