Skip to content

IntelligentTrading/core

Repository files navigation

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)
    
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy