Giter Site home page Giter Site logo

schwab's Introduction

SChwab Python API & Streamer

Handles Authentication, WebSocket streaming subscriptions and API requests. (Developed on Anaconda Spyder on Apple platform)

Auth:

Handles the authentication process and keeps a valid access token to be used
by Schwab (endpoint requests).
To authenticate, you need to provide:
    "user": -- Used to generate the refresh token file
    "redirect_uri": "https://127.0.0.1",
    "client_id": str -- Apps credential from https://developer.schwab.com/
    "app_secret": str -- Apps credential from https://developer.schwab.com/

API:

Handles all API requests. GET, POST,PUT, PATCH.

TODO:
   - Implement Enumerate.
   - Implement ASYNC.

Websoket:

Handles  Websocket connection:
         - Login
         - Subscription request
         - Reestablish connection with all subscriptions back automatically.

TODO:
 - Implement ASYNC.

Streamer:

Provides one method for each kind of subscription with the proper documentation
and default values set.

Balances:

Downloads the complete transactions history and provides P/L
for each Day/Week/Month/Year with FIFO and LIFO approaches.

Test:

Examples on each API endpoint and working streamer subscriptions
Generate a test log with a complete responses on each ENDPOINT

Next Steps:

  • Desktop App
  • Trading Bot
  • AI trading Bot
  • AI portfolio

Project Dependencies:

graph TD;
    Service-->API;
    Service-->Streamer;
    API-->Auth;
    Streamer-->WebSocket;
    WebSocket-->API;
Loading

schwab's People

Contributors

lcuretti avatar

Stargazers

 avatar

Watchers

 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.