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
  • НаукаНаука

Комментарии • 71

  • @tdrmahdi
    @tdrmahdi 11 месяцев назад +1

    gr8 stuff as always ,, looking forward to see this linked to the live data

    • @Algovibes
      @Algovibes  11 месяцев назад

      Shukran Habibi!

  • @csongi4444
    @csongi4444 2 месяца назад +2

    Great video. Im waiting for the real time version.

  • @lucazanzi3760
    @lucazanzi3760 11 месяцев назад +2

    Thanks again for a great video! Really looking forward to a follow up!

    • @Algovibes
      @Algovibes  11 месяцев назад

      Thanks Luca! Appreciate your comment :-)

  • @wissamyammine6510
    @wissamyammine6510 11 месяцев назад +1

    Magnificent strategy! I've tried it on other markets! waw . Waiting for the live trading ...

  • @0xLDC
    @0xLDC 11 месяцев назад +4

    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.

    • @Algovibes
      @Algovibes  11 месяцев назад

      Thanks mate! Appreciate your comment and sharing you thoughts :-)

  • @toddroloff93
    @toddroloff93 3 месяца назад +2

    Great Video. Learned alot

    • @Algovibes
      @Algovibes  3 месяца назад +1

      Happy to read, thanks a lot for watching :-)

  • @kingtrippy5006
    @kingtrippy5006 11 месяцев назад +1

    Awesome Content as usual sir

  • @stefimaz
    @stefimaz 11 месяцев назад +2

    Great!! Full automation would be great to learn. Also having the automation 24/7 without having the personal computer running.

    • @Algovibes
      @Algovibes  11 месяцев назад

      Thanks Stefan. Appreciate your comment!

    • @cmrncrick
      @cmrncrick 11 месяцев назад +1

      What would be the best way to accomplish it running 24/7 without having your personal computer running? Something like a Raspberry Pi?

    • @Algovibes
      @Algovibes  11 месяцев назад +1

      @@cmrncrick covered that in the cryptobot playlist by e.g. running a virtual Machine. Be kindly invited to check that out!

    • @cmrncrick
      @cmrncrick 11 месяцев назад +1

      @@Algovibes awesome!! I will definitely be checking it out. Thank you!!!

  • @SolidBuildersInc
    @SolidBuildersInc 10 месяцев назад +1

    Thanks for your videos. I found them very engaging with your coding style. Definitely another level.

    • @Algovibes
      @Algovibes  10 месяцев назад

      Thanks a lot mate! Happy to read :-)

  • @charleskorn8644
    @charleskorn8644 11 месяцев назад +1

    Again a good video . Maybe when fully automated, you can consider to implement top 5 instead of 1 coin.👍

    • @Algovibes
      @Algovibes  11 месяцев назад

      Also an interesting idea! Thanks mate

  • @jean-francoislebroch9171
    @jean-francoislebroch9171 11 месяцев назад +1

    great!

    • @Algovibes
      @Algovibes  11 месяцев назад +1

      Thanks buddy

  • @pedrorogado8680
    @pedrorogado8680 11 месяцев назад +2

    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?

    • @Algovibes
      @Algovibes  11 месяцев назад

      Hi Pedro, thanks!
      Just follow this link here:
      ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin
      Looking forward to welcome you!

  • @anilmm2005
    @anilmm2005 11 месяцев назад +1

    Thank you and would wait for next video in live market. Keep up the great work @algovibes

    • @Algovibes
      @Algovibes  11 месяцев назад

      Thanks Anil, your support is highly appreciated!

  • @stevie.j.parker
    @stevie.j.parker 11 месяцев назад +1

    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.

    • @Algovibes
      @Algovibes  10 месяцев назад

      Thanks a lot Steve!

  • @jakobadler6034
    @jakobadler6034 11 месяцев назад

    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?

  • @m.r.2418
    @m.r.2418 11 месяцев назад +1

    nice, fully automation video would be great

    • @Algovibes
      @Algovibes  11 месяцев назад +1

      Thanks a lot for your comment and the feedback!

  • @johndoe-is2fw
    @johndoe-is2fw 11 месяцев назад

    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.

  • @amirabbasma635
    @amirabbasma635 11 месяцев назад +2

    Amazing video! how do I access to the Notebook code?

    • @Algovibes
      @Algovibes  11 месяцев назад

      Thanks mate!
      Source code is available here:
      ruclips.net/channel/UC87aeHqMrlR6ED0w2SVi5nwjoin
      Looking forward to welcome you there :-)

  • @jean-francoislebroch9171
    @jean-francoislebroch9171 11 месяцев назад +1

    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

    • @Algovibes
      @Algovibes  11 месяцев назад

      perform less?

  • @tomaszbiay7048
    @tomaszbiay7048 11 месяцев назад +1

    Ohhhh, trading btc on binance is free? I shall think of some strategy then... interested to see your implementation for live trading. thank you.

    • @Algovibes
      @Algovibes  11 месяцев назад

      Thanks for your comment Tomasz, appreciate it!

  • @timnilson
    @timnilson 10 месяцев назад +1

    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.

    • @Algovibes
      @Algovibes  10 месяцев назад

      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.

  • @sergiysergiy8875
    @sergiysergiy8875 9 месяцев назад +1

    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)

  • @ahmed-Alziyadi
    @ahmed-Alziyadi 11 месяцев назад +1

    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.

    • @Algovibes
      @Algovibes  11 месяцев назад

      Can you elaborate?

  • @zenospavlakou7991
    @zenospavlakou7991 8 месяцев назад

    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.

    • @Algovibes
      @Algovibes  7 месяцев назад

      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!

  • @contactshahpriyank
    @contactshahpriyank 11 месяцев назад +1

    please do the next live trading session video

    • @Algovibes
      @Algovibes  11 месяцев назад

      Thanks for your feedback Priyank, appreciated!

  • @jitkadyan
    @jitkadyan 11 месяцев назад

    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.

  • @orielh9585
    @orielh9585 11 месяцев назад +1

    Is buying btc really free of commission?

    • @Algovibes
      @Algovibes  11 месяцев назад +1

      On Binance: Yes

  • @umitkirenci
    @umitkirenci 11 месяцев назад +1

    🙋‍♂️🙋‍♂️👏

    • @Algovibes
      @Algovibes  11 месяцев назад

      🙋🏽‍♀️

  • @sergiysergiy8875
    @sergiysergiy8875 8 месяцев назад

    This strategy works only on growing assets. BTC is fine, but e.g., DYDX or ADA are not profiting.

    • @Algovibes
      @Algovibes  7 месяцев назад

      Interesting observation!

  • @user-qi7lu6qg9r
    @user-qi7lu6qg9r 11 месяцев назад +2

    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.

    • @Algovibes
      @Algovibes  11 месяцев назад +1

      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.

    • @jalexisg
      @jalexisg 11 месяцев назад

      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.

  • @user-io8zt8kj6i
    @user-io8zt8kj6i 11 месяцев назад

    Negative returns after txn fees fyi

    • @Algovibes
      @Algovibes  11 месяцев назад

      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.

  • @Amandagonzalez741
    @Amandagonzalez741 11 месяцев назад +2

    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

  • @Liora_grushcow
    @Liora_grushcow 11 месяцев назад +1

    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

  • @user-zx6zc6ct2v
    @user-zx6zc6ct2v 10 месяцев назад

    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