Algorithmic Trading with Python and Backtrader (Part 1)

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024
  • Like the video? Support my content by signing up for Interactive Brokers using the link below:
    www.interactiv...
    In this series, we try out Backtrader, a Python framework for writing reusable trading strategies and backtesting them against historical data. In the first video, we install and initialize Backtrader.
    Source Code: github.com/hac...
    Buy Me a Coffee: buymeacoffee.c...
    Twitter: / parttimelarry
    Website: hackingthemark...
    Source Code: github.com/hac...
    This content is provided by a paid Influencer of Interactive Brokers. Influencer is not employed by, partnered with, or otherwise affiliated with Interactive Brokers in any additional fashion. This content represents the opinions of Influencer, which are not necessarily shared by Interactive Brokers. The experiences of the Influencer may not be representative of other customers, and nothing within this content is a guarantee of future performance or success.
    None of the information contained herein constitutes a recommendation, promotion, offer, or solicitation of an offer by Interactive Brokers to buy, sell or hold any security, financial product or instrument or to engage in any specific investment strategy. Investment involves risks. Investors should obtain their own independent financial advice and understand the risks associated with investment products and services before making investment decisions. Risk disclosure statements can be found on the Interactive Brokers website.
    Interactive Brokers is a FINRA registered broker and SIPC member, as well as a National Futures Association registered Futures Commission Merchant. Interactive Brokers provides execution and clearing services to its customers. For more information regarding Interactive Brokers or any Interactive Brokers products or services referred to in this video, please visit www.interactivebrokers.com

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

  • @parttimelarry
    @parttimelarry  4 года назад +3

    Like the video? Support my content by signing up for Interactive Brokers using the link below:
    www.interactivebrokers.com/mkt/?src=ptlPY1&url=%2Fen%2Findex.php%3Ff%3D1338
    Source Code: github.com/hackingthemarkets

  • @paul_444
    @paul_444 2 года назад +9

    Your playlists are a complete education better than any kind of schooling ive ever had. I can learn everything I want to thanks to you - thanks

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

    only backtrader tutorial series i found on youtube. very funny guy! keep it up

  • @JD-oj1hr
    @JD-oj1hr 4 года назад +10

    Your videos about Python, Robinhood, and Stock Programs, in general, have been amazing. I can't thank you enough. Keep up the great work everything is picking up speed lately!

  • @shindersamra4020
    @shindersamra4020 3 года назад +1

    I wish I could code like you.👏🏼👏🏼👏🏼👏🏼👏🏼

  • @lindsey5236
    @lindsey5236 Год назад +1

    thank you, it has been so clear and easy to understand

  •  2 года назад +1

    Great thanks

  • @terence108
    @terence108 4 года назад +1

    Thanks for your sharing. it is very informative

  • @sridharsri2061
    @sridharsri2061 2 года назад +1

    very useful

  • @shner6742
    @shner6742 2 года назад

    u forgot to add the rest of teh backtrader vids to the playlist:
    ruclips.net/p/PLvzuUVysUFOs2kZB5KbsAPi0XgqemA5s9

  • @Esp1fs
    @Esp1fs 4 года назад +2

    thanks. Good tutorial. when adding more?

    • @parttimelarry
      @parttimelarry  4 года назад

      Added several more recently!

    • @DIZZLEBOI44
      @DIZZLEBOI44 4 года назад

      @@parttimelarry what you use on the terminal command?? Bash or cmd??

  • @jimli1183
    @jimli1183 4 года назад +2

    Many thanks for your tutorials.

    • @parttimelarry
      @parttimelarry  4 года назад

      Thanks! Got your feedback about talking speed as well, have gotten that feedback before. Still working on my pace and presentation style. More to come!

  • @LatinDanceVideos
    @LatinDanceVideos 4 года назад +1

    This is good. Thanks!!!!

  • @twiggygarcia5096
    @twiggygarcia5096 4 года назад +1

    thanks for making this content, very helpful

  • @lastdance903
    @lastdance903 2 года назад

    Hi Larry, just wondering if optstrategy works with your Python 3.8. I have Python 3.10 installed on my machine and when I changed addstrategy to optstrategy the code stopped working with an error message "module 'collections' has no attribute 'Iterable'". Should I downgrade to Python 3.5, which happens to be the most updated version stated on the Backtrader website?

  • @mr.gk5
    @mr.gk5 2 года назад

    Backtrader với VectorBT which one would you say is more powerful and have more features? I feel like VectorBT is very easy to use but not sure if it’s as robust

  • @s4ltokyo
    @s4ltokyo 4 года назад +1

    Very cool

  • @kamilwodarczyk8967
    @kamilwodarczyk8967 4 года назад

    Bro what brokerage is best fot algo trading? there are many, they have their own API. kidda mixed//

  • @meetshah4800
    @meetshah4800 2 года назад

    Hi I am getting an error in cerebro.run()
    After fetching data

  • @StefanusMaximus
    @StefanusMaximus 3 года назад

    Is there any way to overlay actual past trading data to leverage the visualization for analysis?

  • @harifsingh
    @harifsingh 3 года назад

    Thanks, can you please tell how to get data for FUT contract such as YM?

  • @bizorfinance2532
    @bizorfinance2532 3 года назад

    it says no module named backtrader . I have installed it too

  • @sampaling634
    @sampaling634 4 года назад

    do you have a contact email that I could ask a couple questions on?

  • @ike7769
    @ike7769 4 года назад

    so is the console saving each price tick somewhere ?

  • @Berghiker
    @Berghiker Год назад

    Can you do this on a 1 min time frame?

  • @thomas2004ch
    @thomas2004ch 3 года назад

    where to find your trader.py code?

  • @futurestradinginunder7minu872
    @futurestradinginunder7minu872 4 года назад +2

    Thank you so much. I need to back-test a strategy on hundreds of price data sets, and record each result. Do you know if there's a way to automate this process with Backtrader?

  • @atomicflamethrower
    @atomicflamethrower 3 года назад +2

    Thank you, sir. These tutorials are exactly what I'm looking for in my current process of learning Python, data science and quantitative finance. I will definitely pay it forward, as you have, once I have the chops.

  • @Samir1760
    @Samir1760 4 года назад

    what python IDE are you using ?

    • @parttimelarry
      @parttimelarry  4 года назад +1

      I am using Visual Studio Code in this video and most of my tutorials. I use PyCharm on some of my earlier videos.

  • @JaJA-qt3br
    @JaJA-qt3br 2 года назад

    I have tried some bots on bitfinex, doesn't outworked well for me

  • @antenatoitaliano8443
    @antenatoitaliano8443 4 года назад +2

    Hi, could you please do a video or code to simulate a strategy of Buy and Hold with monthly contributions? Thank you!

  • @NurburgringTrack
    @NurburgringTrack 4 года назад +1

    I'm trading with Oanda API, can I use Backtrader to backtest my strategy? Im asking because the spread is different with each broker and also the margin levels have an impact. Thanks

  • @sixsoxsex1
    @sixsoxsex1 3 года назад +1

    is this only for back test or also for realtime algo trading?

  • @Subvac
    @Subvac 4 года назад +1

    How do you link up your brokerage account to make trades? Is there somewhere to script that in ? I’m new to python

  • @patite3103
    @patite3103 3 года назад +1

    Great video! The link for the source code is not correct. Could someone find the correct file? thank you

  • @sumitjoshi9972
    @sumitjoshi9972 3 года назад

    sir how can we use backtrader to backtest 5 min data on moving average crossover strategy?

  • @farpsy
    @farpsy 3 года назад

    720p is a no no