Code Monkey home page Code Monkey logo

stocktwits-trading's Introduction

stocktwits-trading

This is an old, messy project which scrapes StockTwits users posts and trades based off of them using Alpacas.

The idea behind this is that there are users on StockTwits with large followings who post about low float, low volume penny stocks. When they do, the price often significantly increases and then crashes. They're essentially running pump and dump schemes, so why not capitalize on this algorithmically?

To use it yourself, you will have to update the key_id and secret_key in main.py to your own Alpacas API keys. To get around StockTwits API request limit, I decided to use rotating proxies. You will have to either set using_proxy to False in the settings dictionary found in main.py or replace the proxies variable in the get_stocktwits function of main.py. Trades are logged in the data directory. Although I've abandoned this project, the idea of it was to then build a front-end dashboard around this trading system to really analyze each trades and this strategy's performance. This strategy would be rather difficult to backtest (I tried) because it mostly trades on penny stocks on short timeframes so finding historical data is difficult.

stocktwits-trading's People

Contributors

will-turner123 avatar

Stargazers

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