Python script to continuously analyze crypto data.
Run the following line in the terminal: pip install -r requirements.txt
.
Create a .cfg file named user.cfg
based off .user.cfg.example
The configuration file consists of the following fields:
- exchange - CoinGecko exchange to pull coin info from
- mongo_user - MongoDB Atlas username - used only when using cloud mongo
- mongo_pw - MongoDB Atlas password - used only when using cloud mongo
- bot_sleep_time - Interval time (in minutes) between CoinGecko API calls to get new data
- In
/config/
, copy and rename user_template.cfg to user.cfg and fill in coin-gecko exchange- Example:
exchange=pancakeswap_new
- You can view a list of CoinGecko exchanges here
- Example:
- Install Mongo (Instructions) 1. Verify Mongo installation by running:
console $ mongod --version
2. Start Mongo by running locally:console $ brew services start mongodb-community
* more hereAlternatively, MongoDB Atlas can be used.
- Register for a Mongo Atlas account and create a free (or paid) cluster
- Verify your version of Python is correct by clicking on "Connect > Connect your application" 5. If not, update
self.MONGO_URL
in/analyzer/conf/config.py
with correct URL - Copy username and password to user.cfg:
mongo_user= mongo_pw=
- Comment out line 19 in
/analyzer/database.py
19: self.client = MongoClient('127.0.0.1', 27017)
- Uncomment line 22 in
/analyzer/database.py
:21: self.client = MongoClient(config.MONGO_URL)
python -m analyzer
Background info here
[ ] Daily news sentiment [ ] Analyzing crypto markets [ ] Price prediction [ ] Fundemental analysis [ ] Indicators to watch [ ] Custom calculations [ ] Crypto assessment methods