Skip to main content

A crypto buy/sell analysis tool

Project description

2d6io-cryptobot

Dependencies

This project uses @danpaquin's excellent coinbasepro-python

We also use Flask to generate a restful endpoint to serve our data

pip3 install cbpro
pip3 install flask

We also use Angular and NPM to serve a web interface for the application. You will need to have the latest version of node installed.

Run the following installs once node is complete (see the docs for more info):

npm install -g @angular/cli

Config

Rename config_example.ini to config.ini and update it with the right values.

UNDER NO CIRCUMSTANCES SHOULD config.ini BE UPLOADED TO THE REPO OR SHARED WITH OTHERS

The config is already in the .gitignore so the only way this will happen is if you modify that. Don't do it.

Running

Restful Services

To run from a command line run the following:

python3 app.py

This will start the flask restful service, which can be opened from your localhost

This restful service has several endpoints:

  • /api/wallet - Returns the current state of your wallet
  • /api/analyze_coins - Runs a single pass of the coin analysis process using the data feed from Coinbase

Web Interface

To run the web interface, navigate from a console to /interface and run the following:

ng serve

Navigate to your local angular server and you will see the wallet interface.

To start the analysis service, click Start Monitoring. To disable the service, click Stop Monitoring

Donate

Like the project? Donate!

Wallet: 0xe6f912cba2D254511170884AF4637689BE8758E6

Donate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

2d6io_cryptobot-0.0.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page