Git Product home page Git Product logo

trader's Introduction

Trading script

Playing around with trading strategies and seeing if a custom made trading bot could show any possible returns. Code not the cleanest, just rushing it out for fun :)

APIs used

  • Alpaca
  • Yahoo Finance

Tech stack

  • 2p from Github Copilot

To try out

  1. Every hour, try get earnings report of x companies, if good buy and hold for x days (weeks) (HIGH)
  2. Better to only make trade during stock market open hours?
  3. Get latest articles. If sentiment on them is good, then buy. Else sell
  4. See the type of strategies chatGPT comes up with
  5. If it drops at all, sell right away. High revenue reports backed by good sentiment news should only be going up

Use news and twitter? If news articles are out and there's been an uptick in tweets abt company, if the news sentiment was good then buy. Else not Could we just use Yahoo finance recommendation strategy for buying and holding stock? Check it every day or something? https://finance.yahoo.com/quote/GOOGL/analysis?p=AMZN

TODO:

  • Change API key
  • Make orders into limit ones, only buy if x% higher than market price

trader's People

Contributors

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