LabMazurokCom / Blockchain

Materials for blockchain and cryptocurrency studies
MIT License
7 stars 10 forks source link

Trade volume calculation #13

Open mazurok opened 6 years ago

mazurok commented 6 years ago

Join best orders buy-sell pairs, for sell < buy

We must calculate:

We must form:

Odessit007 commented 6 years ago

Plan: 1) Code for collecting bid-ask order books from given 6 exchanges 1.1) How many orders? Top N or all available? Do we need to have equal number of orders for each exchange? 2) Code for merging sorted order-lists in one sorted list 3) Code for computing profit and volume 4) Modification of index.php to visualize new data.