wardbradt / peregrine

Detects arbitrage opportunities across 131 cryptocurrency exchanges in 50 countries
MIT License
1.19k stars 338 forks source link

Enhance peregrine-flask #10

Closed wardbradt closed 6 years ago

wardbradt commented 6 years ago

The website currently displays PNGs generated using Networkx/ Pydot's write_png functionality. It would be much better if we could draw the JSON into the page using HTML/ JS. Here is a link explaining how to turn graphs into JSON. (If you do not understand this, that's fine. I could make the back-end JSON "outputter" very easily. If it is helpful, D3.js has some pretty good tools for drawing graphs.