QuantConnect LEAN Algorithmic Trading Engine - Getting Started

  Рет қаралды 58,212

Part Time Larry

Part Time Larry

Жыл бұрын

Like the video? Support my content by signing up for Interactive Brokers using the link below:
www.interactivebrokers.com/mk...
Written Tutorial: hackingthemarkets.com/quantco...
In this video, we get familiar with QuantConnect LEAN, an open source algorithmic trading engine. We do this by testing a simple buy-the-close sell-the-open strategy.
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.

Пікірлер: 92
@parttimelarry
@parttimelarry Жыл бұрын
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
@marcvanechtelt5273
@marcvanechtelt5273 Жыл бұрын
@part time larry, I have some questions about some coding (with Java and on Tradingview too). Is there a way I can contact you?
@beethere527
@beethere527 Жыл бұрын
Can LEAN be used to connect it to other exchanges or Brokers around the world. I am from India and want to know if I can create a trading algo system and connect it with Local Broker's API who are connected to the main exchange.
@Quantconnect
@Quantconnect Жыл бұрын
Love the post Larry! Thank you for your review!
@oliverpolden
@oliverpolden 9 ай бұрын
This is fantastic. Taking you through all the errors you'll come across rather than just breezing through as though everything "just works".
@taj-haslani
@taj-haslani Жыл бұрын
you should have some form where viewers can pay for your time and expertise. I will be happy to pay for your content.
@evanlightner
@evanlightner Жыл бұрын
Man. Happy Holidays dude. You are my favorite content creator right now. Seriously a blessing to the community.
@clarkmcquiston9131
@clarkmcquiston9131 Жыл бұрын
Thank you for giving out your time for free to us! I understand how valuable your time is and am very grateful that you take the time to explain these really complex topics in a way that anyone can follow along with.
@citec_solutions
@citec_solutions Жыл бұрын
Wow! Thanks for sharing this amazing video! Very insightful Larry!
@jimlee7943
@jimlee7943 Жыл бұрын
Very nice, thank you for all of your education and showcasing of these tools!
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
Damn bro this video just by the first 4 minutes seems to be jammed packed with good info and knowledge , nice. thank you
@ControlTheGuh
@ControlTheGuh Жыл бұрын
Been waiting for this. Great job! Idk how many people of your subs want to trade crypto, but I came for the equity videos
@eduardopina7964
@eduardopina7964 Жыл бұрын
Your videos have a huge amount of valuable content... thank you por putting it all toghether :)
@petrzurek5713
@petrzurek5713 Жыл бұрын
Finished watching, fantastic video mate 💣
@jeffreylabranche3437
@jeffreylabranche3437 Жыл бұрын
Love it! Thanks again Larry for this nice Video. Can’t wait for the next videos on live trading with IB!
@nicky_c_305
@nicky_c_305 Жыл бұрын
tame impala background...didn't know it was possible to like this channel more
@brendensong8000
@brendensong8000 Жыл бұрын
Great analysis and explanations! Thank you for sharing!!!!
@micmik
@micmik Жыл бұрын
Thanks for this very interesting tutorial ! 🙏🏻
@venkatg5285
@venkatg5285 Жыл бұрын
Great video, buddy.
@petrzurek5713
@petrzurek5713 Жыл бұрын
QuantConnect can also do crypto (spot for now, but perp futures coming soon), so you can throw some kind of BTC DCA in the mix ;-)
@buffaloBean
@buffaloBean Жыл бұрын
I'd be interested in learning about the futures trading. Will have to look into that
@tudatostrader
@tudatostrader Жыл бұрын
Really really great video Larry! Please do more :) Even a course on QC Lean! I'd be happy to pay for you to learn. Maybe in the future one options strategy or connection custom data source for local environment would be great! Awesome work! Thanks man!
@amitkehat1964
@amitkehat1964 Жыл бұрын
The internet blog is amazing upgrade. So neat!
@chentecorreo
@chentecorreo Жыл бұрын
Always use the fees, great work
@YuqingChan
@YuqingChan Жыл бұрын
really educational; this channel deserves more
@YuqingChan
@YuqingChan Жыл бұрын
part time larry, the bots are onto you!
@The-KP
@The-KP Жыл бұрын
Great video, this and the they recent one on QC. I've been building my own python backtesting backend with Alpaca market data and Apache eCharts to visualize results. Now I need to compare mine vs QC, see whether I can switch over, or combine, or what learnings to take from QC
@Personify.solutions
@Personify.solutions Жыл бұрын
great stuff! much appreciated! still would suggest you to add indexing to the video. Difficult to find something back wen using this as a guide. Idk how much work this would be for you, but im sure it will boost the engagement you get like crazy.
@LeveragedFinance
@LeveragedFinance Жыл бұрын
Nice new vid!
@lucrativetea7029
@lucrativetea7029 Жыл бұрын
Thanks,love this
@TransformationApplied
@TransformationApplied Жыл бұрын
Long time not commented on videos. As always great content! Sincerely hope you reach your goals quicker than you expect. Learning new tools is good. Would you consider doing some videos about proven techniques/strategies? For instance taking a strategy and sticking with one tool set, teach how it would be coded from A-Z (like a web app), then keep adding on that web app. Once having one viable product, maybe enhance it utilizing different tools. So whoever visits the channel would be able to see different versions of the proven strategies. I guess the key here is proven strategy. So the channel would have timeless content around these strategies as they will be around for a long time, plus audience will see different versions developed by different tools. Maybe I am asking too much. But as a long time follower I sincerely want this channel to excel further! You deserve it!
@taj-haslani
@taj-haslani Жыл бұрын
Awesome!
@ricardopineda2074
@ricardopineda2074 Жыл бұрын
wow congrants
@eddyv524
@eddyv524 2 ай бұрын
I ran the exact same test (last one) from your article and are getting a different result: $2,796,070.34. I copied and pasted your algo. I would expect to get the very same results...
@johanekh3201
@johanekh3201 Жыл бұрын
Thank you for super quality content! This series on QC Lean seem to be 6 videos, but 5 of them are labelled as private videos that cannot be seen. Is that on purpose or is there any mistake on my side? Thus, how can I watch them?
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
o wait got it. i got my user id and api key nice.. its downloading some stuff
@gloomyfolks
@gloomyfolks Жыл бұрын
One like ain't enough
@kannansingaravelu
@kannansingaravelu 10 ай бұрын
Hi Larry. Great video as always. A quick query - while the backtest runs on lean cloud, locally I am getting Error: Please make sure Docker is installed and running. Docker is already installed and running. How can I get the CLI backtest work locally on Mac? Are there any docker config to be done in the latest version?
@ahgh6934
@ahgh6934 Жыл бұрын
😊
@TradersTradingEdge
@TradersTradingEdge 5 ай бұрын
Thanks so much for all your videos. Can LEAN also run on FreerBSD?
@SafwatGabrplus
@SafwatGabrplus Жыл бұрын
Hello, You showed before the "React StockCharts" library but you didn't make a tutorial about it. Can you please make a video about how to use this library and how to link it to our python projects? It will be great.... Thanks for the tutorials you make, I really learned a lot from them.
@dealaxim
@dealaxim Жыл бұрын
I have a question. I've been super interested in intraday algo-trading for the past year and a half, but I've become pretty overwhelmed with all the options out there (especially as far as back-testing is concerned). What is the most straightforward way (whether that be an engine/library, platform, book, etc.) to get more involved in building a robust trading strategy?
@jessefleming8537
@jessefleming8537 Жыл бұрын
but how do you increase docker storage ! Great video btw
@letsgobrandon2044
@letsgobrandon2044 Жыл бұрын
Can you teach us reinforcement learning with trading?? You have a way of teaching so that one can learn without being completely confused lol. That would be awesome.
@Dallas4090
@Dallas4090 9 ай бұрын
Tame Impala Currents is definitely an album of all time
@movrew
@movrew Жыл бұрын
When will you consider doing a tutorial on deriv please 🥺
@movrew
@movrew Жыл бұрын
😌
@otmanalami6621
@otmanalami6621 2 ай бұрын
Please can QuantConnect LEAN use FIX API of IBKR, because QuantConnect platform implement just TWS API. Thanks for all your videos.
@ZachMarion
@ZachMarion Жыл бұрын
This was very helpful. Can you describe how you got autocomplete working?
@abhilashpatimidi8854
@abhilashpatimidi8854 Жыл бұрын
Request the same please. On M1 Mac. Having real trouble to make it work.
@TheDjarEl
@TheDjarEl Жыл бұрын
In C/C++ (compiled code) this backtest would take probably less than a second. It is just a loop over ~10,000 values...
@parttimelarry
@parttimelarry Жыл бұрын
I knew someone would say this, that's why I mentioned it in the overview of the series right here: kzbin.info/www/bejne/gJObnWxubq6tiqc
@TheDjarEl
@TheDjarEl Жыл бұрын
@@parttimelarry thanks ! But keep on the good work ! It was a very interesting video
@petrzurek5713
@petrzurek5713 Жыл бұрын
The LEAN engine is written in C# (compiled) and bridged to Python via Pythonnet, it has some overhead before it actually starts backtesting (spinning up the VPS on-demand, delays because Larry was using a free tier) and since it is event driven and behaves the same as in Live mode, you cannot compare it with just "looping over 10,000 values" (every order sent is also an object with its lifecycle). Yeah we could do vectorized backtesting and measure in miliseconds, but that is not how things happen in real-time live trading (and in QC you just make a switch to LIVE mode without changing your bakctesting code). Anyway, my point being the engine is plenty fast but people seems to like to build their own solutions in their spare time to kill few years here and there :)
@TheDjarEl
@TheDjarEl Жыл бұрын
Does SPY auto compound the dividends ?
@zaher6924
@zaher6924 Жыл бұрын
Programming master, I wish you would make a video for a binary options bot and choose some conditions for candles to trade.You are the best at explaining it. I hope to apply the video on the QUOTEX platform 👍😘😘
@redsoxfan9046
@redsoxfan9046 Жыл бұрын
US don't trade much binary options. I am more excited to see what algos Larry chooses for live trading on Quantconnect.
@zaher6924
@zaher6924 Жыл бұрын
@@redsoxfan9046 My friend, through Quantconnect, we can also operate binary options trading robots. I am eager to explore binary options as well. I think this is a new and interesting topic.
@machdragon
@machdragon Жыл бұрын
This seems like an awfully specific way to ask someone to do your homework😅Dive into the codebase and the documentation to learn it for yourself if you're actually trying to apply your knowledge
@mikesara7032
@mikesara7032 Жыл бұрын
Due to Quantconnect charting limitations, is there a way to run live charts off API's for crypto to visually test the custom indicators build using CLI?? Thank you for the amazing work!
@parttimelarry
@parttimelarry Жыл бұрын
Can you describe a bit more what you are trying to do? I have done videos on building your own live charts from binance websockets. What do you want to plot? What timeframe? Does it need to interact with QuantConnect?
@ArunSharma-bd8fw
@ArunSharma-bd8fw Жыл бұрын
Can this take a webhook from trading view as part of a strat
@Anirudhlohia1
@Anirudhlohia1 4 ай бұрын
thank you for the video. Is there no way that i can run testing algorithm without pushing the code to the cloud? my client is happy to pay quant-connect for data but not necessarily push their code into quant-connect. any alternative solutions?
@3rdtwirl494
@3rdtwirl494 Жыл бұрын
Can you help. Will any of this like git or lean have some thing for meta trader ?
@user-tb3dj3km2p
@user-tb3dj3km2p 3 ай бұрын
Can I use price action trading with institutional trading strategies
@Cavz001
@Cavz001 8 ай бұрын
Hi Larry. Is it possible for someone to export a strategy from Quantconnect to deploy on another platform?
@Zyvses
@Zyvses Ай бұрын
Im trying to run backtest but says make sure docker is installed and running error. The application is up and running on my desktop and ive installed it on visual studio. Is there something else im missing in regards to allowing it to backtest?
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
where can i buy an existing algorithm? i asked chatpgt and i cant find the marketplace on my quantconnect account. there are free algorithms but i want to see a marketplace
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
What about using a CNN Model to watch the Candle sticks and Data Charts and train in to only buy when its in a Bearish Market and Sell in a Bullish Market on loop basis within certain parameter prices and indicators. buying only when the asset hits a certain amount,Holds it, and sells when it when it rises, then buys only when it goes back down, Holds it unitl it reaches a certain parameter price and sells again when it rises and doing it all on a loop 24/7/365 all restricted with in certain parameters you put depending on the market
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
do they sell only data set for the ML model?
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
i got this error underneath the announcements "please log in to your lean account" do i need an account with lean?
@mesuterylmaz236
@mesuterylmaz236 Жыл бұрын
hi Larry, if the algo fires a buy order at the end of the day’s close, it will not be executed since market is closed already. ????
@parttimelarry
@parttimelarry Жыл бұрын
I used Market On Close orders as described here: www.investopedia.com/terms/m/marketonclose.asp
@anselumana2504
@anselumana2504 Ай бұрын
now 'lean init' is asking for login... isn't it open source and free to use even without a quantconnect cloud account?
@caiusKeys
@caiusKeys Жыл бұрын
Just bought a 3AC hat...
@pragneshmistry6845
@pragneshmistry6845 11 ай бұрын
Can be quantconnect use in google colab environment?
@ajax0116
@ajax0116 Жыл бұрын
how did you download the tutorial to your IDE?
@todo667
@todo667 Жыл бұрын
No Hummingbot then? Or is that coming later?
@parttimelarry
@parttimelarry Жыл бұрын
I did a lot of crypto last month so wanted to do something with equities before going back to hummingbot
@todo667
@todo667 Жыл бұрын
@@parttimelarry Cool, not complaining. Was more curious if you found something that you didn't like about it and decided not to cover it after all.
@LeveragedFinance
@LeveragedFinance Жыл бұрын
what mic do you use?
@parttimelarry
@parttimelarry Жыл бұрын
Using an Elgato Wave 3 now, early videos used a Blue Yeti
@C00ltronix
@C00ltronix 6 ай бұрын
Note that the Nightshares ETF closed down mid 2023 with losses. So much to the buy at close strategy ;-)
@parttimelarry
@parttimelarry 6 ай бұрын
Yes, the code and test in this video showed that it would not work in practice, so this makes sense.
@ThinAirElon
@ThinAirElon Жыл бұрын
why is it free on cloud ? do they want to steel your algo ?
@ricomajestic
@ricomajestic Жыл бұрын
Yes! Most algos are worthless though!
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
all i see is data sets for sale for alot of organizations like the US SEC lol
@ramilali6190
@ramilali6190 Ай бұрын
Your background is tripping me out
@DeepFrydTurd
@DeepFrydTurd Жыл бұрын
run lean cloud backtest trade-spy , the buy-close-sell-open gave me back an error. by the way your awesome Larry my dude i subcribed to your hacking markets page
@ihsanpro9406
@ihsanpro9406 Жыл бұрын
I have a special requirement, can I use lean engine to send automated trade signals based on specific parameters such as mace rsi ? I want to receive webhook alert soon it finds a signal
Power Earnings Gap Scanner with QuantConnect
58:19
Part Time Larry
Рет қаралды 19 М.
Create Your Own LEAN Engine Server For Interactive Brokers Live Trading
30:13
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,8 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Algotrading Frameworks: Overview
20:02
Part Time Larry
Рет қаралды 34 М.
I Tried Day Trading w/ a Trading Bot Algorithm
14:01
Daniel Inskeep
Рет қаралды 874 М.
Interactive Brokers QuantConnect Cloud Integration
18:12
Part Time Larry
Рет қаралды 11 М.
Why Independent Quants Don't Exist
10:14
Dimitri Bianco
Рет қаралды 56 М.
I Built a Trading Bot with ChatGPT
18:33
Siraj Raval
Рет қаралды 1,8 МЛН
Trading with Python: Simple Scalping Strategy
13:47
CodeTrading
Рет қаралды 84 М.
Interactive Brokers API, TradingView Charts in Python
47:52
Part Time Larry
Рет қаралды 63 М.
Why I don't day trade (as a quant developer)
5:26
Coding Jesus
Рет қаралды 67 М.
How to Code a AI Trading bot (so you can make $$$)
35:09
Nicholas Renotte
Рет қаралды 538 М.
Универ. 10 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:04:59
Комедии 2023
Рет қаралды 2,8 МЛН