Giter Site home page Giter Site logo

dearvn / bot_options Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 3.0 1.7 MB

The bot is ideal for traders looking to reduce the amount of time spent on researching and analyzing the markets, as it can quickly scan for and identify the most profitable trades.

Home Page: https://donaldit.net

Python 100.00%
options options-trading spy tdameritrade bot bot-framework bot-trading python3 qqq

bot_options's Introduction

History

06/20/2023

Alt text

bot_options

The bot is ideal for traders looking to reduce the amount of time spent on researching and analyzing the markets, as it can quickly scan for and identify the most profitable trades.

Cost

It is cheap to get a bot trading options automatically

A VPS and a domain

Features

  1. Monitoring OPTIONS price of SPY, QQQ
  2. View History to analysys new logci trading
  3. Auto or manually trading
  4. Send SMS to notice entry order

Technologies

  1. Python
  2. Docker
  3. Laravel
  4. Mongodb
  5. Pusher
  6. Twillio
  7. TD Ameritrade

UI frontend

  1. Setting logic

Alt text

  1. SPY price

Alt text

  1. Orders

Alt text

Everyday, can entry 2 orders and gain profit at leat 40%.

Cost to set up an options bot: a vps

My logic is simple and easy to auto trading on TDA.

Buy to Open Call Strike $404 Expiration 3/7   ...... + $500

to lock

Sell to Open Call Strike $405 Expiration 3/7


==============================================================

Buy to Open Put Strike $400 Expiration 3/7 ..... $300

to Lock

Sell to Open Put Strike $399 Expiration 3/7


==============================================================

Buy to Open Put Strike $402 Expiration 3/8 (Market) @ 1.00
Set Stop Loss 0.80

Lock when Option $ = 1.80

Sell to Open Put Strike $401 Expiration 3/8 (Market)

Install

Backend

  1. Get refresh token from TD Ameritrade ref https://www.youtube.com/watch?v=aT1nB-vMqdE
  2. Update params in env.env file:
  TDAMERITRADE_ACCOUNT_ID=
  
  TDAMERITRADE_CLIENT_ID=
  
  TDAMERITRADE_REFRESH_TOKEN=
  1. Update refresh_token in /app/worker/token.pickle too:
{"creation_timestamp": 1684423154, "token": {"access_token": "xxxxx", "refresh_token": "", "scope": "PlaceTrades AccountAccess MoveMoney", "expires_in": 1800, "refresh_token_expires_in": 7776000, "token_type": "Bearer", "expires_at": 1684424954}}
  1. Go to backend folder run docker
docker-compose build

docker-compose up -d

docker exec -i -t stock_app_1  /bin/bash

nohup python manage.py runserver 0.0.0.0:8000

Frontend

Contact [email protected] if you want to get one

bot_options's People

Contributors

dearvn avatar donaldnguyen avatar

Stargazers

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