Algorithmic Trading with Python and Backtrader (Part 1)

  Рет қаралды 119,828

Part Time Larry

Part Time Larry

Күн бұрын

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

Пікірлер: 47
@parttimelarry
@parttimelarry 4 жыл бұрын
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 жыл бұрын
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
@JD-oj1hr
@JD-oj1hr 5 жыл бұрын
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!
@stanleychen6710
@stanleychen6710 8 ай бұрын
only backtrader tutorial series i found on youtube. very funny guy! keep it up
@lindsey5236
@lindsey5236 Жыл бұрын
thank you, it has been so clear and easy to understand
@atomicflamethrower
@atomicflamethrower 4 жыл бұрын
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.
2 жыл бұрын
Great thanks
@ChungKC-u7u
@ChungKC-u7u 2 ай бұрын
what is the red and blue lines represents in the Equity sub plot? Broker Cash ? Value ? means
@shindersamra4020
@shindersamra4020 3 жыл бұрын
I wish I could code like you.👏🏼👏🏼👏🏼👏🏼👏🏼
@mutantcar
@mutantcar 4 ай бұрын
any chance of an update on this? Doesn't work for me with the latest API? Thanks, love your work!
@terence108
@terence108 4 жыл бұрын
Thanks for your sharing. it is very informative
@jimli1183
@jimli1183 5 жыл бұрын
Many thanks for your tutorials.
@parttimelarry
@parttimelarry 5 жыл бұрын
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!
@sridharsri2061
@sridharsri2061 3 жыл бұрын
very useful
@s4ltokyo
@s4ltokyo 4 жыл бұрын
Very cool
@twiggygarcia5096
@twiggygarcia5096 4 жыл бұрын
thanks for making this content, very helpful
@LatinDanceVideos
@LatinDanceVideos 4 жыл бұрын
This is good. Thanks!!!!
@harifsingh
@harifsingh 3 жыл бұрын
Thanks, can you please tell how to get data for FUT contract such as YM?
@Berghiker
@Berghiker Жыл бұрын
Can you do this on a 1 min time frame?
@meetshah4800
@meetshah4800 2 жыл бұрын
Hi I am getting an error in cerebro.run() After fetching data
@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
@StefanusMaximus
@StefanusMaximus 3 жыл бұрын
Is there any way to overlay actual past trading data to leverage the visualization for analysis?
@bizorfinance2532
@bizorfinance2532 3 жыл бұрын
it says no module named backtrader . I have installed it too
@Esp1fs
@Esp1fs 5 жыл бұрын
thanks. Good tutorial. when adding more?
@parttimelarry
@parttimelarry 5 жыл бұрын
Added several more recently!
@DIZZLEBOI44
@DIZZLEBOI44 4 жыл бұрын
@@parttimelarry what you use on the terminal command?? Bash or cmd??
@kamilwodarczyk8967
@kamilwodarczyk8967 4 жыл бұрын
Bro what brokerage is best fot algo trading? there are many, they have their own API. kidda mixed//
@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?
@ike7769
@ike7769 4 жыл бұрын
so is the console saving each price tick somewhere ?
@thomas2004ch
@thomas2004ch 4 жыл бұрын
where to find your trader.py code?
@patite3103
@patite3103 3 жыл бұрын
Great video! The link for the source code is not correct. Could someone find the correct file? thank you
@antenatoitaliano8443
@antenatoitaliano8443 4 жыл бұрын
Hi, could you please do a video or code to simulate a strategy of Buy and Hold with monthly contributions? Thank you!
@Subvac
@Subvac 4 жыл бұрын
How do you link up your brokerage account to make trades? Is there somewhere to script that in ? I’m new to python
@futurestradinginunder7minu872
@futurestradinginunder7minu872 4 жыл бұрын
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?
@jackthefounder7788
@jackthefounder7788 4 жыл бұрын
there's always a way to automate
@NurburgringTrack
@NurburgringTrack 4 жыл бұрын
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
@Samir1760
@Samir1760 4 жыл бұрын
what python IDE are you using ?
@parttimelarry
@parttimelarry 4 жыл бұрын
I am using Visual Studio Code in this video and most of my tutorials. I use PyCharm on some of my earlier videos.
@sampaling634
@sampaling634 4 жыл бұрын
do you have a contact email that I could ask a couple questions on?
@sumitjoshi9972
@sumitjoshi9972 4 жыл бұрын
sir how can we use backtrader to backtest 5 min data on moving average crossover strategy?
@shner6742
@shner6742 2 жыл бұрын
u forgot to add the rest of teh backtrader vids to the playlist: kzbin.info/aero/PLvzuUVysUFOs2kZB5KbsAPi0XgqemA5s9
@farpsy
@farpsy 3 жыл бұрын
720p is a no no
@JaJA-qt3br
@JaJA-qt3br 2 жыл бұрын
I have tried some bots on bitfinex, doesn't outworked well for me
Algorithmic Trading with Python and Backtrader (Part 2)
9:50
Part Time Larry
Рет қаралды 64 М.
I Gave My Terrible Trading Bot $10,000 to Trade Stocks
16:05
Coding with Lewis
Рет қаралды 549 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
I Built a Trading Bot with ChatGPT
18:33
Siraj Raval
Рет қаралды 2 МЛН
LSTM Top Mistake In Price Movement Predictions For Trading
9:48
CodeTrading
Рет қаралды 112 М.
Candlestick Pattern Recognition with Python and TA-Lib
24:11
Part Time Larry
Рет қаралды 117 М.
VectorBT: Hyperfast Quantitative Analysis vs. Backtrader
27:50
Part Time Larry
Рет қаралды 39 М.
Convert TradingView Indicators into Strategies with AI (IT FINALLY WORKS)
21:49
Top 6 Algorithmic Trading Strategies!
12:15
TradeOptionsWithMe
Рет қаралды 313 М.
How To Build A Trading Bot In Python
18:46
CodeTrading
Рет қаралды 888 М.
How To Back-Test Strategies |  Python For Finance Ep.2
23:06
Richard Moglen
Рет қаралды 89 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.