Skip to content

This repo represents practice for reading API documentation, and building a simple app that navigates managing user auth and API queries.

Notifications You must be signed in to change notification settings

adboyko/tda_api_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDAmeritrade API Reader

What is it?

This tool latches into a TDA Developer app and, using TDA's OAUTH, leverages your Brokerage account to collect price data for desired tickers.

What isn't it?

A full-fledge, production ready utility developed by a professional. I'm still learning. Input is welcome. Forks and PRs are welcome.

How to use it?

  • Clone this repo
  • Preferably, set up a venv for the local clone
  • pip install -r requirements.txt
  • On first run: python apitool/cli.py
    • Subsequent runs will give Help Dialog if already OAUTH'd
  • For help dialog:
    • python apitool/tdam.py,
    • python apitool/tdam.py -h, or
    • python apitool/tdam.py --help

Be sure to routinely check for updates with git pull!

Planned TODOs:

  • Add symbol memory storage (DB or file?)
  • Add ticker price history storage
  • Output data to an excel sheet on demand
  • Learn UI and draw data in realtime
  • Learn how to write tests and implement them here

About

This repo represents practice for reading API documentation, and building a simple app that navigates managing user auth and API queries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages