Hi everyone! Open sourcing this bot! I am just doing a couple of extra tweaks and security things in order to make it easy to read. Warning though! The code won't be fun to read! Open sourcing will be an attempt for me to show you what I dealt with and how I did it :) Should be up by later this week!
now imagine if you were able to run this for a month let say, the trading fees and other things would become a not that significant cut of your profits, but considering the bots actually perform like this continually.
Some of you have been wondering why I haven't been posting as much... this is why! I spent SO LONG on this... I am so glad I can do this! Let me know if you want me to open source the code. (I will remove the Interactive Brokers part lol) UPDATE: Going to be open sourcing soon. Have been dealing with some burnout and some other tasks. Will get up asap!
Only 2 minutes into the video and can already tell that in the long term, Swift-Trade 1.0 will be the foundation for all future alpha in the markets. Please release the code! And thanks for all the awesome content on the channel!
I don't think enough people are apresciating how insane the results from bot 2 are! Even though the profits are not sky high, doing 9 trades and have only a single negative one is mental. I would really like to see it running longer and maybe some updates!
@@ryanignites5923 TBH, that's not a small detail. Some days are just good market-wide so nearly anything is profitable in the short term. A good test would be beating SPY average returns for a few consecutive years. Even if something is profitable, if it's less money than just buying and sitting on SPY than it's not worth the effort.
Eh, one thing I know certain about the market, as long as you don’t do anything silly and you’re going about it with a systematic approach, every situation can in turn be profitable!…
I'm not exactly surprised but it was super interesting to me that the news bot was the most "effective" overall. (making the most trades, green on almost every trade) I do seriously wonder what that bot would look like over a month, or even 6 months. However, as you mentioned, API costs are an important consideration
The news have the same effect as a stock price pumping campaign on pennystocks . regular stocks are just no that volatile. But the news bot basically does the same as traders that knowingly buy into a pump and dumb scheme, planing to exit the commitment before the fraudsters, dump their shares.
I stabled across these questions after comparing my research on such bots: 1) doesn't this fall under PDT (Pattern day trading) and wouldnt you need 25k$ in your account to legally trade? 2) what AI did you choose for the news articles and maybe share a video on how you combined those generated stock vectors 3) how did you handle opening and closing hours, was it though the API or made your own script to check the time and wait till open hours? P.S thank you for the statistics and the whole process/time you spent making this and if possible open soruce it ❤️
1) no idea! That’s way over my head lol 2) I used DataStax vector database but used OpenAIs embedding model to do the search. 3) I just stopped and started the scripts on opening and close lol. I had a condition in their anyway that would cancel any orders on hold so it would’ve just cancelled out
The amount of effort that goes into the animations for your videos is insane. I respect the effort + ofcourse the time it takes to write three trading bots :p
I made one of these and I make like +3 dollars a day it just is a basic system that compares a ton of stocks selects the two best contenders to split the money between and then just detects when the stock is at its highest in the past X days and sells it It kinda sucks but I have not implemented back testing and have it sell if it goes 1 dollar over set
I have built bots professionally for a while now. Most bots are more focused in keeping themselves safe from black swan events while sustaining a consistent growth, chasing higher profits is chasing righer risks, by definition, and most rich people dont want to play around with their money.
Out of all the expenses, how much of it was a one-time vs re-occurring? That definitely changes numbers in the long-run if the bots were used for mid to long-term.
Transaction costs ignored, finding a terrible, loosing trading strategy is equally hard as finding a winning strategy. As you could just invert the first one into a winning one.
How would that work ? You can't just invert that '1 worst stock' to figure out which one will win ? You could attempt shorting, but I'm not sure this was the focus here
@@werneryc Exactly... by shorting! When the terrible algorithm says "buy" then you sell (short) and when it says "sell" then you buy back. Note that shorting is very easy and can be replicated by options (called a synthetic short). So your broker doesn't even need to offer shorting. But obviously there is no guaranteed winning or loosing strategy. If that would exist everybody could extract money in a zero-sum-game.
I think you should also try to create a bot that would buy/sell based on insider trading. Because for most companies you can look up what the higher management doing with the stock, whether they are buying or selling
"Buy high. Sell low" wow I've never thought of that. If you buy $1000 worth of stock and you sell it when it goes to $900, you'll make a -$100 profits 😮
Okay look; I am gonna be honest; I've been trying to crack how to do this for years. I've had many successful first / second attempts -- but I've never been able to get it to work how I wanted it to. This was insanely cool to watch, and I cannot wait to see the open source files. Thank you for restoring my confidence in the world and coding. Here is a sub, you deserve it.
I love when RUclipsrs appreciate the viewers who are indirectly employing them through eyeballs and time. In 'Hollywood', we in the audience might get that if someone wins an award, but in general, it just does not happen much, if at all..
4 days of running is literally nothing. You just got lucky with this, I would like to see a comparison of the backtest results across the last 3 years. I bet all 3 years would lead to a completely different result.
@@CodingWithLewis You could maybe use fake money so instead of really buying in you just log or insert some data into your database, about what the bot would have bought and when you sell your stocks you log/insert data what you would have made/lost when selling it. And than keep that up and running for a while and check the results.
Since the stock market is nearly efficient, any news article will already be priced into the stock by the time you see it. buying/selling when the stock is doing good/bad should also not work in expectation. if it did someone would be doing it already and capturing all the gains
A trading bot cannot really be terrible per se. If it could predictably be terrible you could just do the opposite and have an infinite money printing machine.
I will be forever grateful to you, you changed my entire life and I will continue to preach on your behalf for the whole world to hear you saved me from huge financial debt with just a small investment, thank you Claudia Jenkins.
Wow. I'm a bit perplexed seeing her been mentioned here also Didn’t know she has been good to so many people too this is wonderful, i'm in my fifth trade with her and it has been super.
Jenkins' expertise in customizing investment portfolios based on changing market conditions and personal risk profiles is exceptional. It's not a one-size-fits-all approach, which is crucial in crypto investing.
What impresses me most about Claudia Jenkins is how well she explains basic concept of winning before actually letting you use her trade signals. This goes a long way to ensure winning trades.
This reminds me of using a goldfish, cat or monkey to pick stocks (that all has been actually done). Consistent with the EMH, whatever you're picking, you can expect the market return on average (of course: before fees, more or less if you're biased toward some factors, etc.), but with more volatility because you're picking a relatively small number of stocks. I would expect the second, more clever one, to perform the worse on the long run (assuming it's working as intended) because it would be replicating what emotional humans do: sell low when the news is bad, buy high when the news is good. Fun and interesting coding project though!
What is the best strategy to take advantage of the current market. I’m still deciding whether to diversify my $400k stocks portfolio? how do I redistribute stocks in my portfolio to hedge against crash?.
I wonder if more time was spent running the programs, would they climb themselves out of the +$8 loss. It seems like if they ran for a couple of more days, they would've continued to make consistently similar decisions, resulting in higher wins over losses. And depending on the going rate for the request limits and the cost of the API's, it may turn a profit. But I wouldn't be able to tell without fully understanding the costs involved.
it took me four years to discover that forecasting the market based on charts is pointless; you never know what will happen.I have a little over 250k i wanted to put in the markets but I don’t know what direction to head now. Any feedback on this topic would be greatly welcomed.
I believe the safest approach is to diversify your investments. By spreading your funds across different asset classes like bonds, real estate, and international stocks than putting all your in one. If your financial understanding is lacking, see a financial consultant.
Many folks overlook the importance of advisors until their emotions cause them problems. I recall a few summers ago, after my lengthy divorce, I needed support to keep my business going. I searched for licensed advisors and found someone extremely qualified. She helped grow my reserve from $175K to $550K, despite inflation.
Beautiful, beautiful video, sir. Wonderful editing at 10:58! These was really helpful as I've been wanting to build something similar with social media sentiment analysis for different crypto assets. Thank you! Liked & subscribed.
Obviously, most of the commenters have never taken a statistics course before. Bots 1 and 3 had a sample size of 2 stocks, which is essentially insignificant and offers next to zero information on its effectiveness.
The profits from this would not cover the spread for getting in and out. Typically when you have such a high win rate, the risk-to-reward ratio is skewed. Would be good to see the average trade time, how much spread is factored into the position size, and what the risk-to-reward ratio is actually is vs the risk taken as a position. The creator is suggesting he "risked" 10k, however, he went mostly long with stops, so the downside is capped and the drawdown was mostly likely set at 5%, so max 500 risked with stop losses put in place.
I hope you're able to run some longer tests with these bots some day. 3-4 days is not really enough time to see much stock movement, and while I don't stay up to date with market trends, someone in the comments said that you got lucky and managed to pick a time to run the test when the markets had a general upturn so if that's true, the results of this test doesn't really speak much to the viability of doing something like this on a longer timescale. Doing it for real would probably mean having to carefully parse a lot more news data and add a lot more trend and market analysis parameters though, so it might not be a great idea from a financial perspective to do it. I know that at least eToro has a virtual trading mode where you don't use real money. I don't know if they have any APIs that you could use, but maybe it would be possible to just feed it the market data and have it output it's purchases to a local database or something.
Banger content Lewis! Love this stuff and it deserves way more views! Found u from shorts and realising you do quality long form content is a big surprise as most shorts creators just do shorts cause it gets tons of views ahaha
Grid bot. 10k, 200 orders, 1% order gap. Scale profits into orders. Looks like a mountain, bowl, or equal line if graphed. 50c profit - fees per trade cycle, exponentially. Such a grid will eventually run out the top or bottom. Hopefully the top. Track your average buy price + profits accumulated relative to the spot price. With enough trades captured you can just keep walking the grid down without losing anything. 5 or 10% is better but you'll see a lack of activity. But you will win harder.
Question: If your bot is making trades and decisions every minute based on current market conditions. How were you able to get the current data quickly enough? I'm assuming there was some sort of pipeline from a backend which pulls the most current data and then your code does the analysis and then sends a message to the exchange for what to buy or sell? Did you use a stream instead of something like a REST api? How many stocks were you looking at at one time?
Mad overfitting, interesting project but I really hope nobody takes this too seriously, they're competing with firms who have crazy resources, people and money behind them.
yeah lol also the bigger lesson at the end should've been a baseline comparison to S&P 100 or the like in that week. It's gone up like 10% in the past 2 weeks, it's not just how much you gain but how much you beat the market by
The best polish trader lately did an experiment where he would let his hamster trade cryptocurrencies. By spinning the wheel it picked the currency pair and it had two tubes to run through - one was for buy, other for sell. I don't know how it has finished, but for sure there was a time where it made profit :D
Daytrading results in loss for most investors, especially new investors. I have a little different set of rules. Only buy with P/E under 10. Do not sell at a loss, ever. Hold until the market is up. No stocks with a low P/E go to zero. Reinvest dividends to build a dividend snowball. If a dividend stock spikes in price, sell if the P/E rises over 20, Sell on a stop loss sale. Ride it up, sell when the bubble peaks. If a dividend stock bought low, doubles in value, stop reinvesting in that stock, but look for another stock with low P/E to buy instead. I'm up to $1000/month in dividends now and growing. Dividend snowballs are real.
News & Financial reports. Very important. I think with that one loss, it would’ve benefited with a bit of technical trading knowledge of market cycles. It might’ve been stalling.
Buy low sell high alone is already a pretty good tactic if you don't care about pace in and amount of earning money at all - because you can basically use no leverage at all and buy many low stocks - if they're high enough you can sell them, if they get low - you don't touch 'em at all - no matter how bad they go you can't lose more then you put in and so you let it stay until it's either completely gone (well bye bye money) or there will be eventually a point when they go back up and over long term it's more likely if you started low that it's going up then disappearing completely so you would make profit - not much and also not fast, but that's kinda safe - did that before and made approximately 120€ out of 100€ in one year of really watching it the whole time, so yeah I'm lucky I didn't had to live from that money because - yeah 20€/year isn't anywhere near enough to live from and as I had no time to work while doing that I'd be fucked if I'd to live from that, but still it's way more than you get from a credit, but with 50hrs/week of work vs. no work at all it's not very good, but it totally works 😂
Hi everyone! Open sourcing this bot! I am just doing a couple of extra tweaks and security things in order to make it easy to read.
Warning though! The code won't be fun to read! Open sourcing will be an attempt for me to show you what I dealt with and how I did it :)
Should be up by later this week!
That is awesome! Thank you for the amazing content you are making!!
Hey Lewis, really looking forward to seeing this code in depth. Such an interesting video keep at it🤖
Where can we see the code?
More like a couple weeks...
@@thechampshrimp God i know i am so bad with timelines. its almost done. will make a community post about it
now imagine if you were able to run this for a month let say, the trading fees and other things would become a not that significant cut of your profits, but considering the bots actually perform like this continually.
Or if he scaled it up giving the not 100k?
@@DamianVaz sure but i would think a bot should be much more polished for able to be trusted it with 100k,
@@DamianVaz I don't trust myself with $10,000. Let alone $100,000
Wrong. He would probably lose most of his money. He just gained anything in this time period because the market melted up these past 2 weeks.
@@xthesayuri5756 Maybe we need an update
Some of you have been wondering why I haven't been posting as much... this is why! I spent SO LONG on this... I am so glad I can do this! Let me know if you want me to open source the code. (I will remove the Interactive Brokers part lol)
UPDATE: Going to be open sourcing soon. Have been dealing with some burnout and some other tasks. Will get up asap!
Only 2 minutes into the video and can already tell that in the long term, Swift-Trade 1.0 will be the foundation for all future alpha in the markets. Please release the code!
And thanks for all the awesome content on the channel!
Great video! I’d love to test something like this if you could provide the GitHub link that would be great! Thanks man!
Please open source the code!! Thanks so much 😃
Yes please OS it. This video was AWESOME. By the way. Excellent work. Worth the time.
Yes please! I have been trying to do something like that for a loong time. So that will help me a lot.
I don't think enough people are apresciating how insane the results from bot 2 are! Even though the profits are not sky high, doing 9 trades and have only a single negative one is mental. I would really like to see it running longer and maybe some updates!
Same here!
Or less time use leverage trading to increase profit and losses
89% win rate for a bot is basically unheard of. It did only run for a few days but damn
The real question is if it outperformed the market as a whole
@@ryanignites5923 TBH, that's not a small detail. Some days are just good market-wide so nearly anything is profitable in the short term. A good test would be beating SPY average returns for a few consecutive years. Even if something is profitable, if it's less money than just buying and sitting on SPY than it's not worth the effort.
This is awesome. I would like to do this as a hobby. But why do live trading when you can (I presume) do paper trading instead ?
Because the real💰💰is made in a life account! Paper trading is just demo.
Well put :)
It’s not so easy doing it as a beginner I’d say learning a second language is way easier than this lmao
Eh, one thing I know certain about the market, as long as you don’t do anything silly and you’re going about it with a systematic approach, every situation can in turn be profitable!…
Risk management & Psychology are the ‘nuts and bolts’ of this industry.
"How hard can it be? Buy high, sell low!"
You sure got me hooked! 😄👍
The most gratifying thing is reaching a point where we can be the reason for someone else's livelihood. Congrats Lewis.
This channel is seriously underrated, I cant believe this kind of content only has this little views. Keep going Lewis!
I'm not exactly surprised but it was super interesting to me that the news bot was the most "effective" overall. (making the most trades, green on almost every trade) I do seriously wonder what that bot would look like over a month, or even 6 months. However, as you mentioned, API costs are an important consideration
The news have the same effect as a stock price pumping campaign on pennystocks . regular stocks are just no that volatile. But the news bot basically does the same as traders that knowingly buy into a pump and dumb scheme, planing to exit the commitment before the fraudsters, dump their shares.
My man really gave the bot money instead of giving it hypothetical currency and letting it track the value of it for the sake of an effective test
The greatest tech channel, Lewis makes videos fun and informative for every developer regardless of their software speciality.
Also the editing is OP
I stabled across these questions after comparing my research on such bots:
1) doesn't this fall under PDT (Pattern day trading) and wouldnt you need 25k$ in your account to legally trade?
2) what AI did you choose for the news articles and maybe share a video on how you combined those generated stock vectors
3) how did you handle opening and closing hours, was it though the API or made your own script to check the time and wait till open hours?
P.S thank you for the statistics and the whole process/time you spent making this and if possible open soruce it ❤️
1) no idea! That’s way over my head lol
2) I used DataStax vector database but used OpenAIs embedding model to do the search.
3) I just stopped and started the scripts on opening and close lol. I had a condition in their anyway that would cancel any orders on hold so it would’ve just cancelled out
@@CodingWithLewisthank you for sharing!
he's Canadian, he doesn't have to worry about PDT
PDT applies only to US residents
The effort to make this video is commendable
Thank you!
sup lewis@@CodingWithLewis
The amount of effort that goes into the animations for your videos is insane. I respect the effort + ofcourse the time it takes to write three trading bots :p
Love it how you said buy hi sell low 0:37 😅
Considering these bots are not running with enough capitol to move a market you can run them without actual money to see how they perform.
I made one of these and I make like +3 dollars a day it just is a basic system that compares a ton of stocks selects the two best contenders to split the money between and then just detects when the stock is at its highest in the past X days and sells it
It kinda sucks but I have not implemented back testing and have it sell if it goes 1 dollar over set
I have built bots professionally for a while now. Most bots are more focused in keeping themselves safe from black swan events while sustaining a consistent growth, chasing higher profits is chasing righer risks, by definition, and most rich people dont want to play around with their money.
Your editing is... just wow, greatest tech channel, seriously underrated
We love u!!!! Ur content is really good, keep it up
U really grew the interest of coding in me, thanks Lewis!!!
Amazing video, loved the graphics and animation you used. Would love to see more about the technical side in future videos. Keep up the great work!
Out of all the expenses, how much of it was a one-time vs re-occurring? That definitely changes numbers in the long-run if the bots were used for mid to long-term.
For the first bot, you could try random parameters and then automatically adjust them based on the outcome. You could also be really extra and use ai
Transaction costs ignored, finding a terrible, loosing trading strategy is equally hard as finding a winning strategy. As you could just invert the first one into a winning one.
How would that work ? You can't just invert that '1 worst stock' to figure out which one will win ? You could attempt shorting, but I'm not sure this was the focus here
@@werneryc Exactly... by shorting! When the terrible algorithm says "buy" then you sell (short) and when it says "sell" then you buy back. Note that shorting is very easy and can be replicated by options (called a synthetic short). So your broker doesn't even need to offer shorting. But obviously there is no guaranteed winning or loosing strategy. If that would exist everybody could extract money in a zero-sum-game.
I think you should also try to create a bot that would buy/sell based on insider trading. Because for most companies you can look up what the higher management doing with the stock, whether they are buying or selling
in the middle of the video, and you just said based on an AI of Taylor's lyrics, I'm cracking up, loving this !
First bot: fundamentals
Second bot: market sentiment and news
Third bot: emotional trading while drunk with good music
your teaching is insane ur voice is soft it makes easy to understand thank you !
"Buy high. Sell low" wow I've never thought of that. If you buy $1000 worth of stock and you sell it when it goes to $900, you'll make a -$100 profits 😮
now do that often enough you get an integer overflow and you're a gazillionaire
In day trading you can buy stocks for higher prices and sell it when it drops for a profit
@@Sumit-wo8pq You can never buy high and sell low for a profit. You are talking about selling high and then buying low.
Okay look;
I am gonna be honest; I've been trying to crack how to do this for years. I've had many successful first / second attempts -- but I've never been able to get it to work how I wanted it to.
This was insanely cool to watch, and I cannot wait to see the open source files.
Thank you for restoring my confidence in the world and coding.
Here is a sub, you deserve it.
Insane dude! I was smiling on whole video!
Glad you enjoyed!
That thank you at the end was very sweet
I love when RUclipsrs appreciate the viewers who are indirectly employing them through eyeballs and time. In 'Hollywood', we in the audience might get that if someone wins an award, but in general, it just does not happen much, if at all..
Insane amount of works. I build my own tiktok bot using your video on it, in java, and included OpenAI calls & automatic uploads
Any chance this code is public on github or similar?
Where are you all my whole life!?! Thank you for all your quality videos!
0:37 Was this intentional or on accident? "Buy high, sell low" It should be buy low, sell high 😂
how did it determine position sizing?
also what's the best ML model to play a game of hangman?
4 days of running is literally nothing. You just got lucky with this, I would like to see a comparison of the backtest results across the last 3 years. I bet all 3 years would lead to a completely different result.
The subscriptions are monthly therefore your monthly profit : expenses ratio will be completely different if you run it for a month
I really enjoy your complete non-aversion to risk. Honestly thought the news bot would do way worse hahaha.
Me too... but honestly I think long term it might have been bad. anything for views!
@@CodingWithLewis You could maybe use fake money so instead of really buying in you just log or insert some data into your database, about what the bot would have bought and when you sell your stocks you log/insert data what you would have made/lost when selling it. And than keep that up and running for a while and check the results.
news sentiment analysis is at the cutting edge of stock prediction but its main limitation is getting up to date news
That's no fun
@@jaspervandijk27
Congratulations, you are one of the few people who have made money going long(ish) on GameStop! 😄
Hey, how is the open sourcing going on? Waiting very much for the code!
Awesome video lewis, keep these awesome projects coming!
Since the stock market is nearly efficient, any news article will already be priced into the stock by the time you see it. buying/selling when the stock is doing good/bad should also not work in expectation. if it did someone would be doing it already and capturing all the gains
Lewis, Am Brian from Uganda,,,,Great work, you inspired me to join software engineering
Just started the video, bro has gotten me hooked with the Swift trade... Cannot wait to see how this turns out >:)
Welcome aboard!
A trading bot cannot really be terrible per se. If it could predictably be terrible you could just do the opposite and have an infinite money printing machine.
I will be forever grateful to you, you changed my entire life and I will continue to preach on your behalf for the whole world to hear you saved me from huge financial debt with just a small investment, thank you Claudia Jenkins.
Wow. I'm a bit perplexed seeing her been mentioned here also Didn’t know she has been good to so many people too this is wonderful, i'm in my fifth trade with her and it has been super.
Jenkins' expertise in customizing investment portfolios based on changing market conditions and personal risk profiles is exceptional. It's not a one-size-fits-all approach, which is crucial in crypto investing.
What impresses me most about Claudia Jenkins is how well she explains basic concept of winning before actually letting you use her trade signals. This goes a long way to ensure winning trades.
You trade with Claudia Jenkins too? Wow that woman has been a blessing to me and my family.
I'm new at this, please how can I reach her?
This is crazy! keep up the good work
I think this has been one of the most interesting videos I’ve watched
Fees, Commissions and Taxes are the party breakers. And no one likes to admit that they always come to your party 〽️🎉 15:00 😅
honestly I like these bot based videos as im quite interested in automation of daily boring stuff
This reminds me of using a goldfish, cat or monkey to pick stocks (that all has been actually done). Consistent with the EMH, whatever you're picking, you can expect the market return on average (of course: before fees, more or less if you're biased toward some factors, etc.), but with more volatility because you're picking a relatively small number of stocks. I would expect the second, more clever one, to perform the worse on the long run (assuming it's working as intended) because it would be replicating what emotional humans do: sell low when the news is bad, buy high when the news is good. Fun and interesting coding project though!
What is the best strategy to take advantage of the current market. I’m still deciding whether to diversify my $400k stocks portfolio? how do I redistribute stocks in my portfolio to hedge against crash?.
I wonder if more time was spent running the programs, would they climb themselves out of the +$8 loss. It seems like if they ran for a couple of more days, they would've continued to make consistently similar decisions, resulting in higher wins over losses. And depending on the going rate for the request limits and the cost of the API's, it may turn a profit. But I wouldn't be able to tell without fully understanding the costs involved.
it took me four years to discover that forecasting the market based on charts is pointless; you never know what will happen.I have a little over 250k i wanted to put in the markets but I don’t know what direction to head now. Any feedback on this topic would be greatly welcomed.
I believe the safest approach is to diversify your investments. By spreading your funds across different asset classes like bonds, real estate, and international stocks than putting all your in one. If your financial understanding is lacking, see a financial consultant.
Many folks overlook the importance of advisors until their emotions cause them problems. I recall a few summers ago, after my lengthy divorce, I needed support to keep my business going. I searched for licensed advisors and found someone extremely qualified. She helped grow my reserve from $175K to $550K, despite inflation.
Is there a more detailed thought process behind it? Even just an article?
Beautiful, beautiful video, sir. Wonderful editing at 10:58!
These was really helpful as I've been wanting to build something similar with social media sentiment analysis for different crypto assets.
Thank you!
Liked & subscribed.
How do you do all your animations? Moving text, neon text, shakey screens and so on?!!
I take the broker-fees were not factored in into the profit/losses - if it was most would likely have been negative...
Obviously, most of the commenters have never taken a statistics course before. Bots 1 and 3 had a sample size of 2 stocks, which is essentially insignificant and offers next to zero information on its effectiveness.
The profits from this would not cover the spread for getting in and out. Typically when you have such a high win rate, the risk-to-reward ratio is skewed. Would be good to see the average trade time, how much spread is factored into the position size, and what the risk-to-reward ratio is actually is vs the risk taken as a position. The creator is suggesting he "risked" 10k, however, he went mostly long with stops, so the downside is capped and the drawdown was mostly likely set at 5%, so max 500 risked with stop losses put in place.
What is all that jargon? Where did you learned that, in business school?
I hope you're able to run some longer tests with these bots some day. 3-4 days is not really enough time to see much stock movement, and while I don't stay up to date with market trends, someone in the comments said that you got lucky and managed to pick a time to run the test when the markets had a general upturn so if that's true, the results of this test doesn't really speak much to the viability of doing something like this on a longer timescale.
Doing it for real would probably mean having to carefully parse a lot more news data and add a lot more trend and market analysis parameters though, so it might not be a great idea from a financial perspective to do it.
I know that at least eToro has a virtual trading mode where you don't use real money. I don't know if they have any APIs that you could use, but maybe it would be possible to just feed it the market data and have it output it's purchases to a local database or something.
Banger content Lewis! Love this stuff and it deserves way more views! Found u from shorts and realising you do quality long form content is a big surprise as most shorts creators just do shorts cause it gets tons of views ahaha
Grid bot. 10k, 200 orders, 1% order gap. Scale profits into orders. Looks like a mountain, bowl, or equal line if graphed. 50c profit - fees per trade cycle, exponentially.
Such a grid will eventually run out the top or bottom. Hopefully the top. Track your average buy price + profits accumulated relative to the spot price. With enough trades captured you can just keep walking the grid down without losing anything.
5 or 10% is better but you'll see a lack of activity. But you will win harder.
I’m curious to know what did the market during this time period.
What was the return of the S&P500 during this period ?
Should have included the market indices performances during those days. To compare the results to.
So there's no Pepperstone or XM in Canada? You know, the trading bot platforms without commision fees?
Question: If your bot is making trades and decisions every minute based on current market conditions. How were you able to get the current data quickly enough? I'm assuming there was some sort of pipeline from a backend which pulls the most current data and then your code does the analysis and then sends a message to the exchange for what to buy or sell? Did you use a stream instead of something like a REST api? How many stocks were you looking at at one time?
Mad overfitting, interesting project but I really hope nobody takes this too seriously, they're competing with firms who have crazy resources, people and money behind them.
yeah lol also the bigger lesson at the end should've been a baseline comparison to S&P 100 or the like in that week. It's gone up like 10% in the past 2 weeks, it's not just how much you gain but how much you beat the market by
What is the overall market performance during that time? It's easier to make money by holding stocks when the stock market is up on average.
It [mostly] self funded this knowledge and experience gathering exercise, which is worth it in my book.
The best polish trader lately did an experiment where he would let his hamster trade cryptocurrencies. By spinning the wheel it picked the currency pair and it had two tubes to run through - one was for buy, other for sell. I don't know how it has finished, but for sure there was a time where it made profit :D
i think its good idea, but if u want to go with it u need more data to back it up
Amazing vid Lewis, great ideas here
Where is the source code for bot 2? Or is it not profitable?
ur amazing this content is crazy good
Would be interesting to compare your results to simply buying and holding something like SPY over the same period.
Daytrading results in loss for most investors, especially new investors. I have a little different set of rules.
Only buy with P/E under 10.
Do not sell at a loss, ever. Hold until the market is up. No stocks with a low P/E go to zero.
Reinvest dividends to build a dividend snowball. If a dividend stock spikes in price, sell if the P/E rises over 20, Sell on a stop loss sale. Ride it up, sell when the bubble peaks.
If a dividend stock bought low, doubles in value, stop reinvesting in that stock, but look for another stock with low P/E to buy instead.
I'm up to $1000/month in dividends now and growing. Dividend snowballs are real.
I wonder what result you could get doing a trading bot that short sells
Lose even more money faster.
@@thewhitefalcon8539 Why?
How are you running your tests in parallel? Python is not a multithreading language.
News & Financial reports. Very important.
I think with that one loss, it would’ve benefited with a bit of technical trading knowledge of market cycles. It might’ve been stalling.
2/3 of the bots were news related and made a profit. So news are very important.
I'm here to see how it worked even though I understood ABSOLUTELY NOTHING of what you said between the 2 and 3 minute mark! 😄
This is awesome. Out of curiosity, what news source did you use?
Loved this. Thanks Sir !
wow great job man im a big fan of this channel now
Buy low sell high alone is already a pretty good tactic if you don't care about pace in and amount of earning money at all - because you can basically use no leverage at all and buy many low stocks - if they're high enough you can sell them, if they get low - you don't touch 'em at all - no matter how bad they go you can't lose more then you put in and so you let it stay until it's either completely gone (well bye bye money) or there will be eventually a point when they go back up and over long term it's more likely if you started low that it's going up then disappearing completely so you would make profit - not much and also not fast, but that's kinda safe - did that before and made approximately 120€ out of 100€ in one year of really watching it the whole time, so yeah I'm lucky I didn't had to live from that money because - yeah 20€/year isn't anywhere near enough to live from and as I had no time to work while doing that I'd be fucked if I'd to live from that, but still it's way more than you get from a credit, but with 50hrs/week of work vs. no work at all it's not very good, but it totally works 😂
Can we get a github repository for this video please? Would be really nice
9:49 automatic subtitles be like "ask her to be in bed". 😀
Could you run a backtest for the last few weeks? Would be very interesting.
Hello, I want to start investing but I don't know where to begin. Any advice or contacts for help?
It's wise to seek professional guidance when building a strong financial portfolio due to its complexity.
97% of traders lose money, just put money in $VOO and $O and let it sit for a few years
was the profit before or after fees/commissions? good vid
i really love the video! the best part is the jungle at 6:10!!! what is the track?
Wow this is somehow both hilarious and impressive! I think you just inspired me to make my own trading bot lmao! Thanks! :)
Combine the first two bots one that way based on new data and the slope it’ll choose to buy or sell
0:33 Am I the only one that noticed he said buy high and sell low?
That was a joke, self irony
So... How would it turn out if you used a random number generator to select which stocks to buy and sell and when?
I don't see any coding. This is the Glam magazine equivalent of trade coding.
0:37 Buy High, Sell Low 😂