Just a simple Flask app to expose a queue of current opportunities detected by bitcoin-arbitrage, running the custom Queuer observer from the @lmartinho fork.
Created during the AngularJS hackathon on Sand Hill Road. Probably not useful at this stage.
Works together with:
Install virtualenv
using your platform's package manager
Create a virtualenv for the app's dependencies:
virtualenv flask
Install flask to the virtualenv
flask/bin/pip install flask
Install pymongo
flask/bin/pip install pymongo
Add execute permission to the application file
chmod +x app.py
Run the app
./app.py
Test the local API endpoint.
You should get a map with an empty array in the opportunities
key.
Public Domain