Git Product home page Git Product logo

ec2-tda-autobot's Introduction

TDA-Autobot

TDA-Autobot is an automated fire and forget trading mechanism utilizing Alex Golec's(Author) tda-api wrapper, Tradingview webhook alerts, and AWS EC2 for cloud hosting.

NEW!!! Automate creating your EC2 Instance to host TDA-Autobot in the cloud with Market Maker Lite's AutoEC2 @ https://github.com/MarketMakerLite/AWS

The code itself is universal in the fact that it has no idea what ticker, time frame of chart, or strategy is being used in Tradingview to issue the alert. Rather, its purpose is to take any incoming alert and place an order to TD-Ameritrade. All this via a serverless (cloud) configuration.

To perform this operation, the code runs the following processes:

  • Authenticates with TD-Ameritrade API.
  • Establishes routes and listens for an incoming POST request (Tradingview Webhook).
  • Runs functions and filtering based on details of webhook.
  • Creates order builder spec.
  • Places order through API.

Requires:

Test Webhook with Insomnia Rest API Client https://insomnia.rest/download

The webhook message format can be found in the trade.py file for a simple copy and paste to your Tradingview alert body.

I utilized help from several places and only feel it fair to give reference to the information i consumed. So here is a list of useful references:

Mr. Baker @ MarketMakerLite :

https://marketmakerlite.com (coming soon!)

https://docs.marketmakerlite.com

https://github.com/MarketMakerLite

https://discord.com/channels/837528551028817930/851679862350544926

To Baker and Psslonaki Thank you very much for the help and support!!

Alex Golec tda-api wrapper :

https://github.com/alexgolec/tda-api.git

https://tda-api.readthedocs.io/en/latest/index.html

https://discord.com/invite/Ddha8cm6dx

Parttimelarry :

https://www.github.com/hackingthemarkets

YouTube Tutorial Video for this repo: https://www.youtube.com/watch?v=-wT9h9Nc9sk

YouTube Channel (for TD Ameritrade API): https://youtube.com/parttimelarry

LICENSE :

"""-------------------------------------------------------------------------------------------------------------------- Copyright 2022 Kyle Jorgensen

Licensed under the Apache License, Version 2.0

THIS CODE IS PROVIDED AS IS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND

This file is part of the Open Source Library (www.github.com/KJJorgensen) --------------------------------------------------------------------------------------------------------------------"""

ec2-tda-autobot's People

Contributors

kjjorgensen 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.