Installation

Development release

Clone repo and run pipenv install. This will install the necessary dependencies.

To setup metadata database: 1. Create Postgres metadata database

CREATE DATABASE airflow;
  1. Create airflow user:

    CREATE USER USERNAME WITH PASSWORD '<password>';
    GRANT ALL PRIVILEGES ON DATABASE <database> TO USERNAME;
    
  2. export AIRFLOW\_HOME=$(pwd)

  3. Run: airflow db init to create the base config (which needs sqlite only)

  4. Now change sql_alchemy_conn variable to a postgres db connection string, for which connection parameters were created above. And run: airflow db reset.

    This should create the necessary metadata database for data collection to proceed.

From sources

The sources for Trading alerts can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/kai490952010/trading_alerts

Once you have a copy of the source, you can install it with:

$ python setup.py install