Simple Trading Strategy on Bitcoin with Python FULL walkthrough

  Рет қаралды 10,187

Algovibes

Algovibes

Күн бұрын

Пікірлер: 48
@hanskaproductions4061
@hanskaproductions4061 11 ай бұрын
Thanks, @Algovibes, for the great content as always. One remark though: If you simply bought BTC in the beginning of Jan. 2023 and sold today, you would have gotten a +130% return. So, most parameter choices in this example actually were worse than simply holding BTC throughout the year. It would be interesting to back test this in other types of market conditions in addition to a clear bull market.
@franky12
@franky12 11 ай бұрын
Unfortunately, most of the (algorithmic) trading strategies shown on KZbin are a waste of time and money. The profits sound good at first, but hardly any strategy beats the simple buy and hold strategy. Almost no one bothers to compare the backtest against buy and hold, which is a willful or negligent omission if you want to test serious strategies.
@nguyenduyta7136
@nguyenduyta7136 11 ай бұрын
No one can guest future. Everything you said after results happened, so it no meaning
@x-raf7652
@x-raf7652 10 ай бұрын
@@franky12 It sounds like you make a fair point, but let me exaggerate to make mine. You invest and have your money on the market for 6 months to make 130% profit. I trade, and have my money on the market for 1 month over that 6 month period, and make 110% profit. Which is the best trade? I'd pick the least riskiest for my money. I'm a trader, not an investor - buy and hold is investing, not trading. By comparing the two - without mentioning risk - you are comparing apples to oranges?
@Algovibes
@Algovibes 10 ай бұрын
First of all thanks mate! I am usually doing a benchmark comparison in about 95% of my videos but I simply cannot cover everything in every single video. However In this case I am with x-raf. For a bullet proof test of the strategy you have to analyze the holding period of the asset (I am mentioning that in the course of the video) and see what's the real exposure during 2023. Let's say I made 2 trades and only hold for 3 days (as an example) and generated 75% of the BTC return. With B&H you would be exposed 365 days instead to generate a bit more profit. As mentioned in the video you would need to dive deeper into which trades would have been made and how those trades look in details.
@nguyenduyta7136
@nguyenduyta7136 11 ай бұрын
Thanks Agovibes. I remember that one of videos you made have optimization parameters that SL and TP have be different value of percentage so I think we can got a best parameters for best performance ❤👍
@Algovibes
@Algovibes 10 ай бұрын
Welcome mate. Yes that's another good extension but don't forget about the overfitting issue here (covered that in the video as well)
@KietSNguyen
@KietSNguyen 8 ай бұрын
This video is super helpful!! I just wonder whether you should have kept the "12h change > change" at the end of the vid where you tested for selling positions, since you would want the condition to be >-2% instead of
@Algovibes
@Algovibes 7 ай бұрын
Hi mate, can you provide me a timestamp? Happy to check!
@Daniel-ks7cx
@Daniel-ks7cx 7 ай бұрын
@Algovibes Thanks for sharing the videos I just enroll your course , wanna know which is your best strategy for crypto bot
@Algovibes
@Algovibes 7 ай бұрын
Awesome, looking forward to see you there mate!
@mailchioccia7280
@mailchioccia7280 6 ай бұрын
Is it possible to use one of those strategies for live trading with binance api?
@fuba44
@fuba44 11 ай бұрын
That for sure looks impressive, but how many of them best the market?
@Algovibes
@Algovibes 10 ай бұрын
Referencing to that on another comment. In a nutshell: Doesn't really make sense to do a benchmark comparison but I think only a few parameters were beating the BTC.
@Edo.
@Edo. 7 ай бұрын
Would love to see you do a trading bot using the bybit api, since binance isn't available in my country.
@Algovibes
@Algovibes 7 ай бұрын
Hi mate, cool idea. Will see what I can do!
@Edo.
@Edo. 7 ай бұрын
@@Algovibes Thanks I appreciate that!
@FootballShortzGlobal
@FootballShortzGlobal 10 ай бұрын
Great video mate! Learning a lot from you
@Algovibes
@Algovibes 10 ай бұрын
Thanks buddy, that's awesome to read!
@imbadatcod7208
@imbadatcod7208 11 ай бұрын
It would be also nice to include Binance's commission into the profit calculation so that you know the real profits
@itzfastbreak8885
@itzfastbreak8885 11 ай бұрын
[(s-b)/b -0.00075 for s,b in zip(buyprices,sellprices) ] for binance
@Algovibes
@Algovibes 10 ай бұрын
Mentioned that in the video. In a nutshell: BTC is commission free on BTC, subtract the trading fees for other coins.
@janvosatka8609
@janvosatka8609 10 ай бұрын
❤❤ it looks like interesting, but strategy works well for year 2023, 2021 when btc went up globaly. For year 2022 it is bad strategy. How to implement some trend checker? And make buy contract only if trend is somehow and use angle of trend could be interesting as well. Don’t think?
@Algovibes
@Algovibes 9 ай бұрын
Very interesting thoughts, thanks a lot for sharing them!
@MikeMiner316
@MikeMiner316 11 ай бұрын
Thanks sir, it would be good if integrating with AI for the variables e.g. to decide on thresholds where it is still profitable instead of fixing it, interesting... :)
@Algovibes
@Algovibes 10 ай бұрын
Welcome mate. That's an interesting suggestion, what do you have in mind? A recommendation system?
@MikeMiner316
@MikeMiner316 10 ай бұрын
@@Algovibesvariables are decided by the AI, for time being I am not sure which API to use
@yashpanchal1235
@yashpanchal1235 10 ай бұрын
Please make a strategy, for when price cross above vwap, buy And sell when cross below vwap With biannce api I am trying to make it and unable to do so😢, Pls help me
@Algovibes
@Algovibes 10 ай бұрын
Sure thing! Thanks a lot for your suggestion :-)
@egorsadyrev4611
@egorsadyrev4611 10 ай бұрын
Thank you. But I think you are wrong. You don't consider if the price hits stoploss firstly inside the one candle, and after goes to the takeprofit level. In this scenario you are getting profit.
@Algovibes
@Algovibes 10 ай бұрын
Did I catch you skipping some parts of the video, Egor? I do an in-depth discussion about that in the video. In fact I even put in a whole chapter marked with timestamps where I am discussing this. As I always say: Don't even think about skipping a single second of any of my videos 😛
@egorsadyrev4611
@egorsadyrev4611 10 ай бұрын
Thanks for the answer. Sorry🙃
@TESLA_MOTOR
@TESLA_MOTOR 11 ай бұрын
How can I go about investing in the crypto and stock market? Real estate sounds good too but it's all boils down to the right investment plan.
@LJ9089-r8w
@LJ9089-r8w 11 ай бұрын
Wow! I'm really surprised Mary Gail is being mentioned here. I initially started off with her last year with 5k and now my portfolio is worth over a 100k
@TESLA_MOTOR
@TESLA_MOTOR 11 ай бұрын
Please how do I contact her?
@Nicolewhit
@Nicolewhit 11 ай бұрын
I strongly agree with you guys, Mary's team is the best, My funds are safe and ROI is always sent directly to my external wallet exchange monthly
@TESLA_MOTOR
@TESLA_MOTOR 11 ай бұрын
Thanks for sharing her contact information. I will be imploring her service right away!
@DiegoDiezTV
@DiegoDiezTV 11 ай бұрын
Very good content and super clear explanation, thanks @algovibes, looking forward to the realtime strategy, cause I was thinking the same idea at the start of the video.
@Algovibes
@Algovibes 10 ай бұрын
Thanks mate! Appreciate your feedback and I will try to cover that in the course of this month. Cheers!
@Johnson960
@Johnson960 11 ай бұрын
📌Your channel is great MAte, the market has been dump!ng and pump!ng in this range for ages! It's technically just going sideways, sideways means generally stagnant. More emphasis should be put into day trading, as it less affected by the unpredictable nature of the market. Trading has been going smooth for me as I was able to raise over 4 BTC when I started at 1 BTC in just few weeks implementing Tan Bryson daily trading signals and strategy...
@georgefeeny771
@georgefeeny771 11 ай бұрын
Xlm ,sol , Btc ,xrp
@AAElvis
@AAElvis 11 ай бұрын
Holding alone no longer works for me because of the bearish trends. I'm happy with my portfolio now with Tan Bryson trading analysis Im up from 0.9btc to 2btc..
@sammcbratney2590
@sammcbratney2590 11 ай бұрын
ETHEREUM, XRP
@ColinRDavis
@ColinRDavis 11 ай бұрын
I am a newbie in crypto investment, please how can i reach him?
@Johnson960
@Johnson960 11 ай бұрын
@TanBryson VlA t e I e g r am.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 12 МЛН
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 68 МЛН
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,9 МЛН
Analyzing Cryptocurrencies in Python
17:39
NeuralNine
Рет қаралды 36 М.
Trading with Python: Simple Scalping Strategy
13:47
CodeTrading
Рет қаралды 97 М.
Step-by-Step Guide: Time Series Momentum Trading with Python
20:32
Best and Worst Trading Strategies: Tier List
8:13
Algovibes
Рет қаралды 4,2 М.
Detecting Price Trends in python - Higher Highs, Higher Lows
24:18
Chad Thackray
Рет қаралды 30 М.