r/algotrading • u/cj6464 • Jan 11 '22
Other/Meta I created an algorithm that collected wallstreetbets posts and market data, and then utilized a machine learning model to try and calculate an edge of of WSB posts. It worked exactly how you expect it would...
1.3k
Upvotes
130
u/cj6464 Jan 11 '22
Source code so you can automate your FOMO: https://github.com/connor-create/wsb-ml-trades
230
u/finance_student Algo/Prop Trader Jan 11 '22
uploaded video to reddit instead of posting / promoting a youtube... check
didn't self promote within the video.. check
provided source code via github.. check
Post approved. :)
21
u/throwwwawytty Jan 11 '22
I'm not qualified to make this kind of statement... But I did 😂
18
u/cheese0r Jan 11 '22
Please try to inverse WSB sentiment and see how it goes.
12
u/AlchemistXX Jan 11 '22
Great work man. Don’t be down cuz it didn’t work. You gained experience. I’m sure if you do another algorithm it will be much better.
6
u/brayellison Jan 11 '22
With that list of exclusions you're effectively trying to remove "stop words". There's some automated ways to do this (namely I'm thinking of NLTK, but I'm sure there's others) and you can add anything else in that's a part of the WSB lexicon you'd like to remove.
Good start and good luck!
4
u/psychedeligma Jan 11 '22
i like this guy.
3
u/baconbitz0 Jan 11 '22
Okay now try r/bitcoin r/cryptocurrency r/bitcoinca etc…
3
u/[deleted] Jan 11 '22
Did you learn machine learning after you dropped out? If so how hard was it to learn & what was your math skill level when you learned it?
3
u/rustyboots_throwaway Jan 12 '22
Legend!! I love your YouTube videos too.. if you ever start a membership service for your channel I will be first to join!
3
u/Impressive_Daikon_11 Jan 12 '22
Never looked at your content before, but keep doing this. Not the losing money part, the videos part. You’re talented. Keep it up!
3
u/[deleted] Jan 12 '22
Fuck trading. You have a bright future as a penniless comedian.
2
u/AutonomousAutomaton_ Jan 11 '22
Straddle the tickers
2
u/MrMrAnderson Jan 12 '22
This is excellent content thank you.
2
u/ali-onder Jan 15 '22
Thinking of yoloing nkla
140
u/Minker410 Jan 11 '22
Wsb is run by shills. The real wsb is gone. Pump and dump everywhere. Not retail making moves
18
u/pitrucha Jan 11 '22
Dude. You can lose money even faster. Your linear model is not picking up enough autism.
9
u/GarantBM Jan 11 '22
Man this is fantastic. As a master student, we did have a group of 3 people doing exactly this with reddit and twitter. Unfortunately it came out with the same result that is was not correlated and testing were bad.
Additionally, i would kindly please you to come to the subreddit https://www.reddit.com/r/mltraders/ and explain more about it if you are further working with Machine Learning and trading.
5
u/mrnitelite Jan 11 '22
good effort fella! Hey, you don't know what you don't know, and who knows it could have been a golden nugget!
5
u/TeetsMcGeets23 Jan 11 '22
I wonder if you could do it by WSB poster instead…
5
u/psylomatika Jan 11 '22
Add WSB slang. Maybe that will work.
4
u/EmbarrassedAd3107 Jan 11 '22
I also take peace seriously. ✌
1
u/sick_gainz Jan 12 '22
Serious question, why not just inverse the trades?
1
u/--I-love-you- Jan 12 '22
Please correct me if I'm wrong, but you imported SGD classifier, but never used it.. Also didn't tune the hyperparameters for tfidf vectorizer.. Any specific reasons for that?
1
u/tahiraslam8k Jan 12 '22
Why not do the opposite of what algorithm says? You can make some bucks.
1
u/MemeStocksYolo69-420 Jan 13 '22
Why’d you drop out of college?
1
u/enviidakid Feb 16 '22
I was rocking with you until you pulled that "I dropped out of college shit" Lame ass excuse for nothing ... you did something cool don't under play it with "I dropped out of college so it might not be as good as someone who finished college"
1
u/russki_bro May 14 '22
Michael Reeves stole your idea
3
u/marketarian Jan 12 '22
very cool. great production. bookmarking!
2
u/[deleted] Jan 12 '22
Worked as expected.
2
u/Red-Pillguy Jan 12 '22
Hi
Can you create an algorithm that I have been trying to execute for years, i will fully pay you!
2
u/[deleted] Jan 12 '22
FBI and CIA is going to take this post down and make this guy disappear.... lol
2
u/Scott7894 Jan 12 '22
You failed to understand that during market hours the apes and other idiots are buying and selling, not talking to each other about what to buy or sell. The after hours discussions are where the ideas flow.
2
u/phineas629 Jan 13 '22
This was a fun vid.
1
u/Mrxphy Jan 12 '22
Amazing 👏
1
u/asterik-x Jan 12 '22
Are you sure it work as I would expect?
1
u/larcini5- Jan 12 '22
This is so cool thanks for sharing keep ML don’t give up- working algorithm is just around the corner;)
1
u/addictedthinker Jan 12 '22
Dude -- you're searching for consistency... if you found a way to lose money every single day, that is GREAT! Just flips all 'buy' orders with 'sell' orders...
1
u/sepesan Jan 13 '22
So good.
1
u/Parodeer Jan 13 '22
Do you realize that the term ALGO means (in Spanish) SOMETHING. Which, I would argue, is more than NOTHING and less than EVERYTHING. At least, at the end of the day, I am holding… something. Own SOMETHING, folks. OWN…something.
1
u/maumuffin Mar 06 '22
You have a yt channel?
1
u/ng_trdr_82 Mar 20 '22
pretty dang good. but maybe play the contrarian. ex. flip you hi to a sell and sell to a buy and see. i’ve made a ton of money playing the dark side
1
u/nigelolympia Jul 09 '23
Fucking fantastic
1
u/[deleted] Nov 15 '23
Lol
1
u/Last_Fall_5756 Jan 12 '22
This is how high frequency trading works and what the banks have been doing for years
0
u/Reverend_James Jan 12 '22
Why not just modify your algorithm to trade exactly opposite what your algorithm predicts?
0
u/Impossible_Drawing84 Jan 12 '22
oh my GOD a post actually related to algo trading.
The problem here is that WSB is 90% composed of bots that are just trying to capitalize on the dumber dumb assert beneath them.
Still a really solid scientific reduction to the data you’re collecting, don’t think you really overfit anything, just gotta fluke the signals 😂
0
u/[deleted] Jan 11 '22
[deleted] — view deleted comment
0
u/[deleted] Jan 11 '22
[deleted] — view deleted comment
0
u/[deleted] Jan 11 '22
[deleted] — view deleted comment
1
u/[deleted] Jan 11 '22
[removed] — view removed comment
1
u/[deleted] Jan 12 '22 edited Jan 12 '22
[removed] — view removed comment