Skip to content

dbuer/ptrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ptrade

This is a python wrapper for the Etrade API. It handles authentication and provides an interface for making requests.

Getting started

To use this library, you must have API consumer keys, which require an Etrade account. Visit their getting started page to learn more.

Setup [temp]

  1. Acquire consumer keys from Etrade.
  2. Clone this repo.
  3. Run pip install -e . in the cloned directory to install this package.

Example

  1. Read the example code given in examples/starter.py.
  2. Provide program with consumer keys (example uses a .env file).
  3. Run the example program in a terminal: python3 starter.py.
  4. Login to your Etrade account when prompted by your browser.
  5. Read and accept the terms and agreements.
  6. Copy the verification code given to you by Etrade, and paste it into the console where you ran the program.
  7. The program prints the output of a few common api requests, use as desired.

About

python wrapper for the Etrade API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages