Giter Club home page Giter Club logo

pyetrade's Introduction

pyetrade

Python E-Trade API Wrapper
PyPI PyPI PyPI Build Status codecov

Completed

v1 API
Authorization API - ALL

NOTICE: v0 API - Will be sunset by etrade on 12/31/2018 an effert is underway to move pyetrade over to v1
Authorization API - ALL
Accounts API - ALL
Order API -

  • List Orders
  • Place Equity Order
  • Cancel Order

Market API -

  • Look Up Product
  • optionchain
  • Get Quote

TODO

  • All of v1 API
  • Migrate test suit to pytest

Install

pip install pyetrade
- or -
git clone https://github.com/jessecooper/pyetrade.git
cd pyetrade
sudo make init
sudo make install

Example Usage

import pyetrade
oauth = pyetrade.ETradeOAuth(consumer_key, consumer_secret)
oauth.get_request_token()
#Follow url and get verification code
tokens = oauth.get_access_token(verifier_code)
accounts = pyetrade.ETradeAccounts(
        consumer_key,
        consumer_secret, 
        tokens['oauth_token'],
        tokens['oauth_token_secret']
    )
accounts.list_accounts()

Documentation

PyEtrade Documentation

Contribute to pyetrade

    sudo make init  
    sudo make devel
  • Lint
make lint #Lint score should be >=8
  • Test
make test #Ensure test coverage is >80%
  • Push Changes:
    Push changes to a branch on your forked repo
  • Create pull request

pyetrade's People

Contributors

jessecooper avatar 1rocketdude avatar davidboertjes avatar franciszver avatar

Watchers

James Cloos avatar Eric Hubbard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.