Тёмный

QuantConnect LEAN Algorithmic Trading Engine - Getting Started 

Part Time Larry
Подписаться 111 тыс.
Просмотров 62 тыс.
50% 1

Like the video? Support my content by signing up for Interactive Brokers using the link below:
www.interactiv...
Written Tutorial: hackingthemark...
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.

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 93   
@parttimelarry
@parttimelarry 2 года назад
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 2 года назад
@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 2 года назад
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 2 года назад
Love the post Larry! Thank you for your review!
@taj-haslani
@taj-haslani 2 года назад
you should have some form where viewers can pay for your time and expertise. I will be happy to pay for your content.
@petrzurek5713
@petrzurek5713 2 года назад
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 2 года назад
I'd be interested in learning about the futures trading. Will have to look into that
@Ed-ix2vk
@Ed-ix2vk 2 месяца назад
compared to trying zipline and quantrocket with tonnes of errors and API issues this has been a breeze thanks to you breaking it down, thanks for making these. Do you think its possible to create a proxy pre market "trailing stop" by creating new limit orders every couple of tics/cents?
@ControlTheGuh
@ControlTheGuh 2 года назад
Been waiting for this. Great job! Idk how many people of your subs want to trade crypto, but I came for the equity videos
@nicky_c_305
@nicky_c_305 2 года назад
tame impala background...didn't know it was possible to like this channel more
@oliverpolden
@oliverpolden Год назад
This is fantastic. Taking you through all the errors you'll come across rather than just breezing through as though everything "just works".
@chentecorreo
@chentecorreo 2 года назад
Always use the fees, great work
@DeepFrydTurd
@DeepFrydTurd Год назад
o wait got it. i got my user id and api key nice.. its downloading some stuff
@clarkmcquiston9131
@clarkmcquiston9131 2 года назад
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.
@petrzurek5713
@petrzurek5713 2 года назад
Finished watching, fantastic video mate 💣
@LeveragedFinance
@LeveragedFinance 2 года назад
Nice new vid!
@ahgh6934
@ahgh6934 2 года назад
😊
@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
@Personify.solutions
@Personify.solutions 2 года назад
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.
@evanlightner
@evanlightner Год назад
Man. Happy Holidays dude. You are my favorite content creator right now. Seriously a blessing to the community.
@jeffreylabranche3437
@jeffreylabranche3437 2 года назад
Love it! Thanks again Larry for this nice Video. Can’t wait for the next videos on live trading with IB!
@micmik
@micmik 2 года назад
Thanks for this very interesting tutorial ! 🙏🏻
@venkatg5285
@venkatg5285 2 года назад
Great video, buddy.
@kannansingaravelu
@kannansingaravelu Год назад
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?
@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!
@The-KP
@The-KP 2 года назад
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
@jimlee7943
@jimlee7943 2 года назад
Very nice, thank you for all of your education and showcasing of these tools!
@Cavz001
@Cavz001 11 месяцев назад
Hi Larry. Is it possible for someone to export a strategy from Quantconnect to deploy on another platform?
@eddyv524
@eddyv524 5 месяцев назад
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...
@otmanalami6621
@otmanalami6621 5 месяцев назад
Please can QuantConnect LEAN use FIX API of IBKR, because QuantConnect platform implement just TWS API. Thanks for all your videos.
@ZachMarion
@ZachMarion 2 года назад
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.
@jessefleming8537
@jessefleming8537 Год назад
but how do you increase docker storage ! Great video btw
@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
@lucrativetea
@lucrativetea Год назад
Thanks,love this
@taj-haslani
@taj-haslani 2 года назад
Awesome!
@dealaxim
@dealaxim 2 года назад
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?
@gloomyfolks
@gloomyfolks Год назад
One like ain't enough
@Zyvses
@Zyvses 4 месяца назад
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?
@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?
@Anirudhlohia1
@Anirudhlohia1 7 месяцев назад
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?
@citec_solutions
@citec_solutions 2 года назад
Wow! Thanks for sharing this amazing video! Very insightful Larry!
@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
@eduardopina7964
@eduardopina7964 Год назад
Your videos have a huge amount of valuable content... thank you por putting it all toghether :)
@movrew
@movrew 2 года назад
😌
@anselumana2504
@anselumana2504 4 месяца назад
now 'lean init' is asking for login... isn't it open source and free to use even without a quantconnect cloud account?
@letsgobrandon2044
@letsgobrandon2044 2 года назад
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.
@brendensong8000
@brendensong8000 Год назад
Great analysis and explanations! Thank you for sharing!!!!
@amitkehat1964
@amitkehat1964 2 года назад
The internet blog is amazing upgrade. So neat!
@VictorChukwuemeka-o3x
@VictorChukwuemeka-o3x 6 месяцев назад
Can I use price action trading with institutional trading strategies
@TransformationApplied
@TransformationApplied 2 года назад
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!
@DavidDji_1989
@DavidDji_1989 2 года назад
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 2 года назад
I knew someone would say this, that's why I mentioned it in the overview of the series right here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Jb8l989IzTE.html
@DavidDji_1989
@DavidDji_1989 2 года назад
@@parttimelarry thanks ! But keep on the good work ! It was a very interesting video
@petrzurek5713
@petrzurek5713 2 года назад
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 :)
@movrew
@movrew 2 года назад
When will you consider doing a tutorial on deriv please 🥺
@ricardopineda2074
@ricardopineda2074 2 года назад
wow congrants
@DavidDji_1989
@DavidDji_1989 2 года назад
Does SPY auto compound the dividends ?
@ramilali6190
@ramilali6190 4 месяца назад
Your background is tripping me out
@DeepFrydTurd
@DeepFrydTurd Год назад
all i see is data sets for sale for alot of organizations like the US SEC lol
@mesuterylmaz236
@mesuterylmaz236 2 года назад
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 2 года назад
I used Market On Close orders as described here: www.investopedia.com/terms/m/marketonclose.asp
@TradersTradingEdge
@TradersTradingEdge 8 месяцев назад
Thanks so much for all your videos. Can LEAN also run on FreerBSD?
@SafwatGabrplus
@SafwatGabrplus 2 года назад
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.
@YuqingChan
@YuqingChan 2 года назад
really educational; this channel deserves more
@YuqingChan
@YuqingChan 2 года назад
part time larry, the bots are onto you!
@johanekh3201
@johanekh3201 2 года назад
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 Год назад
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 Год назад
i got this error underneath the announcements "please log in to your lean account" do i need an account with lean?
@3rdtwirl494
@3rdtwirl494 Год назад
Can you help. Will any of this like git or lean have some thing for meta trader ?
@Dallas4090
@Dallas4090 Год назад
Tame Impala Currents is definitely an album of all time
@todo667
@todo667 2 года назад
No Hummingbot then? Or is that coming later?
@parttimelarry
@parttimelarry 2 года назад
I did a lot of crypto last month so wanted to do something with equities before going back to hummingbot
@todo667
@todo667 2 года назад
@@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.
@pragneshmistry6845
@pragneshmistry6845 Год назад
Can be quantconnect use in google colab environment?
@ArunSharma-bd8fw
@ArunSharma-bd8fw 2 года назад
Can this take a webhook from trading view as part of a strat
@LeveragedFinance
@LeveragedFinance 2 года назад
what mic do you use?
@parttimelarry
@parttimelarry 2 года назад
Using an Elgato Wave 3 now, early videos used a Blue Yeti
@ajax0116
@ajax0116 Год назад
how did you download the tutorial to your IDE?
@DeepFrydTurd
@DeepFrydTurd Год назад
do they sell only data set for the ML model?
@caiusKeys
@caiusKeys 2 года назад
Just bought a 3AC hat...
@ThinAirElon
@ThinAirElon 2 года назад
why is it free on cloud ? do they want to steel your algo ?
@ricomajestic
@ricomajestic 2 года назад
Yes! Most algos are worthless though!
@zaher6924
@zaher6924 2 года назад
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 2 года назад
US don't trade much binary options. I am more excited to see what algos Larry chooses for live trading on Quantconnect.
@zaher6924
@zaher6924 2 года назад
@@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 2 года назад
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
@C00ltronix
@C00ltronix 9 месяцев назад
Note that the Nightshares ETF closed down mid 2023 with losses. So much to the buy at close strategy ;-)
@parttimelarry
@parttimelarry 9 месяцев назад
Yes, the code and test in this video showed that it would not work in practice, so this makes sense.
@ihsanpro9406
@ihsanpro9406 2 года назад
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
Просмотров 20 тыс.
荧光棒的最佳玩法UP+#short #angel #clown
00:18
Interactive Brokers API Tutorial (Beginners)
1:05:23
Просмотров 137 тыс.
How Financial Firms Actually Make Money
22:40
Просмотров 352 тыс.
Interactive Brokers API, TradingView Charts in Python
47:52
Finding Breakout Candidates with Python and Pandas
29:33
How to Code a AI Trading bot (so you can make $$$)
35:09
Trading from End to End with QuantConnect
54:56
Просмотров 5 тыс.
I Tried Day Trading w/ a Trading Bot Algorithm
14:01
Просмотров 915 тыс.
Interactive Brokers QuantConnect Cloud Integration
18:12