/tda-utils

Collection of useful python functions on top of tda-api python wrapper

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

TDA-utils

Collection of helpful python functions on top of tda-api python wrapper

credential file

credential.py file needs to contain the following six constants:

Constant name Filetype Description
tda_token_path str path to the token.pickle file generated by tda-api
tda_api_key str api key from TDA website
tda_redirect_uri str e.g) 'http://localhost'
tda_accountid int account id from TDA website
alpaca_api_key str
alpaca_api_secret str

Quickstart

  1. Place credential.py and token.pickle in src/tda_utils folder
  2. Create a virtual environment e.g)
    conda create -n tda
    conda activate tda
    conda install pip
  3. Install the package by pip install -e path/to/git/folder

Log files

history.yaml log.txt