Giter Site home page Giter Site logo

admoneo's Introduction

analyzer

Python script to continuously analyze crypto data.

Table of contents

  1. Tool Setup
    1. Install Python dependencies
    2. Create user configuration
      1. Environment Variables
      2. MongoDB Atlas
    3. Run analyzer
  2. Background
  3. Open to-dos

Tool Setup

Install Python dependencies

Run the following line in the terminal: pip install -r requirements.txt.

Create user configuration

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

Environment Variables

  1. In /config/, copy and rename user_template.cfg to user.cfg and fill in coin-gecko exchange
    • Example:
      exchange=pancakeswap_new
    1. You can view a list of CoinGecko exchanges here
  2. 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 here

    Alternatively, MongoDB Atlas can be used.

MongoDB Atlas

  1. Register for a Mongo Atlas account and create a free (or paid) cluster
  2. 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
  3. Copy username and password to user.cfg:
    mongo_user=
    mongo_pw=
    
  4. Comment out line 19 in /analyzer/database.py 19: self.client = MongoClient('127.0.0.1', 27017)
  5. Uncomment line 22 in /analyzer/database.py: 21: self.client = MongoClient(config.MONGO_URL)

Run

python -m analyzer

Background

Background info here

Future To-dos

[ ] Daily news sentiment [ ] Analyzing crypto markets [ ] Price prediction [ ] Fundemental analysis [ ] Indicators to watch [ ] Custom calculations [ ] Crypto assessment methods

admoneo's People

Contributors

dukhniav avatar

Watchers

 avatar  avatar

Forkers

webclinic017

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.