GithubHelp home page GithubHelp logo

dearvn / tdameritrade-bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 164 KB

TD Ameritrade Bot is an innovative way to stay on top of the markets and make smart investments that can help you reach your financial goals.

Python 99.58% Shell 0.42%
celery options python3 rabittmq tdameritrade trading-bot

tdameritrade-bot's Introduction

tdameritrade-bot

TD Ameritrade Bot is an artificial intelligence-powered chatbot that provides clients with personalized, real-time investment advice. This cutting-edge technology uses machine learning algorithms to analyze financial markets, identify trends and recommend personalized investments for users. With TD Ameritrade Bot, users can get tailored investment advice from the comfort of their homes, making it easier and more convenient than ever to manage their portfolios. The Bot's intuitive interface and advanced technology make it a great tool for both novice and experienced investors alike. TD Ameritrade Bot is an innovative way to stay on top of the markets and make smart investments that can help you reach your financial goals.

A simple bot to tracking ticker to trade options on TDA

Alt text

Run on local to develop

# Create an isolated Python virtual environment
pip install virtualenv
virtualenv ./virtualenv --python=$(which python3)

# Activate the virtualenv
. virtualenv/bin/activate

# Install Python requirements
pip install -r requirements.txt

# Install app-*
pip install -e .
pip install -e ./app


Create a pusher app to send signal

Create a app from TDAmeritrade

Download chromedriver and get refresh token

python -m app.token

Get refresh-token

Set variable param on local

export TDAMERITRADE_CLIENT_ID=
export TDAMERITRADE_REFRESH_TOKEN=
export PUSHER_APP_ID=
export PUSHER_KEY=
export PUSHER_SECRET=

Local test

python -m app.test-tda

Run by docker

  • Edit params in env.evn

Run docker

docker-compose build
docker-compose up -d

docker exec -i -t tdameritrade-bot_app_1  /bin/bash

python manage.py runserver 0.0.0.0:8000


Rest Api

http://0.0.0.0:8000/recommend-options-get Method: GET Params: tickers = ['AAPL','TSLA']

tdameritrade-bot's People

Contributors

dearvn avatar donaldnguyen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

regholl

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.