IntelligentTrading / core

ITF Market Analysis and Signal Services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Waffle.io - Columns and their card count

ITT Core Services

API

/api/v2/...

Environment Setup

  1. Install Prerequisites
  • python3.6
  • pip
  • virtualenv
  • virtualenvwrapper
  • run commands to create virtual env
    $ mkvirtualenv --python=/usr/local/bin/python3 ITF`
    $ workon ITF
    
  1. Clone and setup Django env
  1. Local Env Settings
  • make a copy of settings/local_settings_template.py and save as settings/local_settings.py
  • add private keys and passwords as needed
  1. Connect to Database
  • install PostgreSQL server and create local database
  • run $ python manage.py migrate to setup schemas in local database
  • AND/OR
  • connect to read-only Amazon Aurora DB
  • set database connection settings in your settings/local_settings.py
  1. Run Local Server
  1. Run Worker Services
  • $ python manage.py trawl_poloniex
  • ...
  1. Query DB in Shell
  • $ python manage.py shell

    > from apps.indicator.models import Price
    > eth_price = Price.objects.filter(currency="ETH").order_by('-timestamp').first()
    > print(eth_price.satoshis)
    

About

ITF Market Analysis and Signal Services

License:GNU General Public License v3.0


Languages

Language:Python 84.0%Language:Jupyter Notebook 11.7%Language:HTML 4.2%Language:JavaScript 0.1%Language:Mustache 0.1%Language:CSS 0.0%