Intraday Cryptocurrency Trading Strategy with Python and Binance
HTML-код
- Опубликовано: 27 май 2023
- In this one I am showcasing an Intraday Trading Strategy on very granular (1 hour timeframe) Cryptocurrency data based on very short term momentum and locking in profits.
Get the Notebook/Source code by becoming a Tier-3 Channel member:
/ @algovibes
More details on Python binance and data pull:
• Introduction To Automa...
return calculation and cumulating explained:
• How To Calculate Stock...
Python for Finance playlist (Momentum and other Trading strategies recommended ):
• Python for Finance
Interested in automated trading? Check out the Cryptobot playlist here:
• Cryptocurrency Bots / ...
Disclaimer:
This video is not an investment advice and is for educational, informational or entertainment purposes only!
#python #trading #crypto - Наука
gr8 stuff as always ,, looking forward to see this linked to the live data
Shukran Habibi!
Great video. Im waiting for the real time version.
thx mate!
Thanks again for a great video! Really looking forward to a follow up!
Thanks Luca! Appreciate your comment :-)
Magnificent strategy! I've tried it on other markets! waw . Waiting for the live trading ...
Your content is really awesome!
Short and effective code perfectly doing the intended job... keep crushing it! 💪🏻
Adding trailing take profit (or considering risk-to-reward ratio >1) could indeed be interesting, as well as maybe consider also short positions.
Thanks mate! Appreciate your comment and sharing you thoughts :-)
Great Video. Learned alot
Happy to read, thanks a lot for watching :-)
Awesome Content as usual sir
thanks mate!
Great!! Full automation would be great to learn. Also having the automation 24/7 without having the personal computer running.
Thanks Stefan. Appreciate your comment!
What would be the best way to accomplish it running 24/7 without having your personal computer running? Something like a Raspberry Pi?
@@cmrncrick covered that in the cryptobot playlist by e.g. running a virtual Machine. Be kindly invited to check that out!
@@Algovibes awesome!! I will definitely be checking it out. Thank you!!!
Thanks for your videos. I found them very engaging with your coding style. Definitely another level.
Thanks a lot mate! Happy to read :-)
Again a good video . Maybe when fully automated, you can consider to implement top 5 instead of 1 coin.👍
Also an interesting idea! Thanks mate
great!
Thanks buddy
Great starting point as you mention. Interesting to see what the effect of commissions and slippage would be...
How to I become a tier-2 or tier-3 member?
Hi Pedro, thanks!
Just follow this link here:
ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin
Looking forward to welcome you!
Thank you and would wait for next video in live market. Keep up the great work @algovibes
Thanks Anil, your support is highly appreciated!
Another great video. Thanks for the excellent content. Looking forward to seeing the follow up for live trading. Plus using a trailing SL would be interesting.
Thanks a lot Steve!
i was wondering how you manage to trade on binance when germans aren't allowed to do so.
do you have a business account or some other solution to trade futures/perps on nance?
nice, fully automation video would be great
Thanks a lot for your comment and the feedback!
if profit would add up iterrative, then everytime a loss is added while profit is at 0.00 or below you would have to rebuy your investment. ill try to add this for better profit predictons.
Amazing video! how do I access to the Notebook code?
Thanks mate!
Source code is available here:
ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin
Looking forward to welcome you there :-)
Have you considered trying the binance margin account, taking leverage into account? It appears to other quants that shortselling and leverage can in fact perform less than vanilla trading
perform less?
Ohhhh, trading btc on binance is free? I shall think of some strategy then... interested to see your implementation for live trading. thank you.
Thanks for your comment Tomasz, appreciate it!
Great content as always!! However, try running this with a start date of 2018-01-01and end date of 2023-6-10. I wish I could upload the chart. But it looks like this: U Massive 80% drawdown... you would just come back to about even right around 2023-06-20.
I am not the biggest fan of running such long term backtests on etc a hourly chart. The market is just too dynamic for that.
line:
profit = (tp - buyprice)/buyprice
does not make any sense, as it is always equal 0.02 ( same with sl line: always equals -0.02)
Can you add something to make us test data with a specific amount, like a 1000$ (just number)?
It will be much better to test that wen it comes with other tokens.
Can you elaborate?
I think there is a flaw in your backtesting. You cant know if the stop loss was reached before the take profit and vice-versa. However, It could be the case that in most instances, there isn't so much spread in the price during a single hour that both thresholds of -2% to +2% will be reached.
Not a "flaw" but I am addressing that in the video. You always have a component which is not reflecting the 100% reality. I got a lot of content on simulated tradingbots, there you have the 100% accuracy. Be invited to check them out!
please do the next live trading session video
Thanks for your feedback Priyank, appreciated!
Sir can you provide video on tick data handling to store live tick data and group data by specific time periods like 5 seconds, 10 seconds and apply indicators on this live data and entry and exit on the condition met on candle close. I can provide you api login credentials or Zerodha broker or angel one broker of Indian broker for your video and will change later on. As Zerodha and Angel One are the biggest brokers in india and a huge number of traders will be beneficial with this video also help you to get a specific number of subscribers from india. So pls confirm what you can do.
Is buying btc really free of commission?
On Binance: Yes
🙋♂️🙋♂️👏
🙋🏽♀️
This strategy works only on growing assets. BTC is fine, but e.g., DYDX or ADA are not profiting.
Interesting observation!
There is a coding mistake. What happens when both the high is above TP and low is below SL. You need to check which happens first.
Fully intentionally didn't include that. Probability that this is happening is close to 0 and won't change (you can test it, the range is just too high in that case). But overall to tackle that you would need more granular data, so take e.g. minute granular data. In a live environment you can also just compare the data ticks. Got a ton of videos on that: Just check out all my videos.
You should close your position only after "buyprice" wich has as stamp time called "bough_at", then check for the new last High or last Low that apply the 2% target during the hour candle.
Negative returns after txn fees fyi
Which fees are you referring to? There are 0% fees on trading BTC on Binance which was addressed in the video.
www.binance.com/en/support/announcement/binance-adds-stablecoin-spot-trading-pairs-launches-fee-promotion-discontinues-auto-conversion-for-stablecoins-dd331bed50bb44f485e47aed132bfc02
Taxes are way too individual and country based here and also do not apply in this coherence as the asset value is stored in stable coin.
Your goals are unique,so your investment guidance should be too. Trade with mr Patrick mohson he takes time to listen and understand what matters most to you before helping you develop and manage your investment strategy.He’s a good trader
On telegram 👇
@ pathclift
Looks like scam.
@@juank46983 It actually is
Investing and saving has a powerful result to the extent of turning a nobody yesterday to a billionaire today.which is why I trade with mr Patrick mohson to achieve great trading wins on my investment,my advice to new investors is to do same
He’s on telegram 👇
>> pathclift
Looks like scam.
compare the 1.30X profit to just buying it at the begining (16529.59) and selling at the end(23804.55), which is 1.44X