Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

42 lines (23 loc) · 1.16 KB

bitcoin-arbitrage-service - RESTful API for @maxme's bitcoin-arbitrage

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.

System

Works together with:

Installation And Configuration

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.

LICENSE

Public Domain