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
Metadata
Release files for 2d6io-cryptobot 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 2d6io_cryptobot-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / 2d6io_cryptobot-0.0.1-py3-none-any.whl
| Download URL | 2d6io_cryptobot-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58e11cd719bbe4154ba27d700f2b08c928ed034d478255c261721d2cdf207c99
|
|
BLAKE2b-256 checksum How to use checksums |
1ddad34a002592ae8859db4bd83d5d0927d3dd6d96c3f2f291ce3573d19073ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.8
|