Yahoo Finance API. Dash Dashboard.
28:37
4 сағат бұрын
RAG from Scratch using Llama Index
32:50
Embeddings and RAG for Stock News
43:19
Sequential Bootstrap Intuition!
25:30
Пікірлер
@korendani
@korendani 31 минут бұрын
Thanks for the video.
@MLAlgoTrader
@MLAlgoTrader 30 минут бұрын
Will have a lot more . I really like this api
@big_mac_love
@big_mac_love 16 сағат бұрын
not a youtuber, but ty for the advice! btw. I found you when I looked for "RAG with Python" 1 day after you uploaded this video: kzbin.info/www/bejne/maTTfqmpbraUrK8 So maybe you have indeed to pay for their scummy SEA service so that they actually promote your videos. Didnt watch you other videos after that one tbh. I am not that much into finances.
@MLAlgoTrader
@MLAlgoTrader 16 сағат бұрын
Thanks a lot yeah ai videos are in maybe I'll do an NBA one... Appreciate the comments
@charlesrambo7845
@charlesrambo7845 16 сағат бұрын
I think I heard somewhere that you’re putting your code up on GitHub. Would you mind sharing a link? I wasn’t able to find one.
@MLAlgoTrader
@MLAlgoTrader 15 сағат бұрын
My Github is not organized at all. I started for every new video putting the link to it. I want to organize it, but haven't got to it. All my new videos have a link. github.com/adidror005/youtube-videos
@MLAlgoTrader
@MLAlgoTrader 15 сағат бұрын
Damn I can't find code link to this video. In all new videos I have code.
@charlesrambo7845
@charlesrambo7845 12 сағат бұрын
@@MLAlgoTrader No worries. I really appreciate your work in these videos.
@licraig7652
@licraig7652 Күн бұрын
Thank you so much for the toturial, it's so clear. I'm wondering If I can add some context to each training text, such as some explanation of how to classify different sentiment, I don't know if it works, LLMs like llama hava ablebility to understanding context, Maybe it would help, What's your opinion?
@MLAlgoTrader
@MLAlgoTrader Күн бұрын
Do you mean like in the prompt describing more clearly what you want for positive neutral and bearish?
@licraig7652
@licraig7652 Күн бұрын
​@@MLAlgoTrader Yes, I would add the prompt at the begining of each text, something like "Classify the text messages to 1. positive, explanation: xxxxxxx. Example: xxxxx 2. negative, explanation:xxxx, example:xxxxxx. the message is "Tesla's market cap soared to over $1 trillion ...""
@MLAlgoTrader
@MLAlgoTrader Күн бұрын
For some llms it does better even that way before fine tuning but fine tuning makes that less necessary. Check out deeplearning.ai course on llama index he does it similar to what you suggest
@licraig7652
@licraig7652 Күн бұрын
@@MLAlgoTrader Thank you so much.❤
@am7-p
@am7-p Күн бұрын
Growing your KZbin channel is like growing your garden. It takes time.
@MLAlgoTrader
@MLAlgoTrader Күн бұрын
Yeah but the Google ads thing is weird Idk I got like no traffic for a bit . I only used 4$ at least haha
@MLAlgoTrader
@MLAlgoTrader Күн бұрын
Thanks for your comments also I always appreciate the
@am7-p
@am7-p Күн бұрын
To my understanding, ib_insync is not compatible with Plotly Dash am I correct?
@MLAlgoTrader
@MLAlgoTrader Күн бұрын
Everything is compatible with everything if you are willing to waste a few weeks on it haha nothing is compatible with async things...Streamlit is also a pain. I think continuous updates are a pain. Let me see if I can get it to work before I open my mouth ... With streamlit I can I assume dash is a little easier .
@am7-p
@am7-p Күн бұрын
@@MLAlgoTrader AFAIR Ewald (RIP) suggested FAST API as the web UI platform compatible with ib_insync.
@paulrelf
@paulrelf Күн бұрын
Very cool. Always learning something new on your channel.
@MLAlgoTrader
@MLAlgoTrader Күн бұрын
To be honest, I always loved Tableau, but after a while you need a bit more meat + Tableau costs if you are not part of a company. What is cool is you can also share apps with pythonanywhere.com.
@saurabhvadukia
@saurabhvadukia 5 күн бұрын
can you tell me how I can get euro option pricing work on last day of expiry because quantlib take time to expiry in days left and on expiry day it says option expired
@MLAlgoTrader
@MLAlgoTrader 2 күн бұрын
Hey so this is the thing by default Quantlib only works on a daily granularity so you should think of day of expiry as close day before expiry. There is a way to build Quantlib for intraday. See this. I did the intraday install once before if I have time I can make a video on it but don't expect one in next 6 weeks since I don't have much time because moving. quant.stackexchange.com/questions/73298/how-do-you-handle-non-integer-time-intervals-in-quantlib-for-options-pricing-ie
@MLAlgoTrader
@MLAlgoTrader 6 күн бұрын
Code: github.com/adidror005/youtube-videos/blob/main/AI%20Trading%20Assistant%20Actual.ipynb
@JohnintheTyranny
@JohnintheTyranny 7 күн бұрын
Does anyone have issues with IB not fulfilling a Limit Order in a timely manner? It seems market orders go through fine, but limit orders always time out.
@MLAlgoTrader
@MLAlgoTrader 6 күн бұрын
Really I never had this issue. Demo or real account ?
@JohnintheTyranny
@JohnintheTyranny 6 күн бұрын
@@MLAlgoTrader paper, demo account
@MLAlgoTrader
@MLAlgoTrader 6 күн бұрын
Paper accounts sometimes do weird things to be honest.
@mateoh327
@mateoh327 7 күн бұрын
Just watched this one about merging live bars with historical ones AGAIN. I've starting having my ta-lib indicators use average/wap instead of close where only one price is input. I went back and added the wap conversion sections, which I had left out on my scripts previously. Thank you again for all your great videos!!! My opinion has become that the wap of the bar is a more accurate description of what price did during that bar than close. It's probably more similar to you using volume bars instead of time bars, maybe some day I'll convert all the way over to volume bars.
@MLAlgoTrader
@MLAlgoTrader 2 күн бұрын
Thanks sorry for late response. Yeah wap could be more accurate but sometimes they are similar if you use 5 second bars lol.
@psvdevan
@psvdevan 7 күн бұрын
Thank you
@MLAlgoTrader
@MLAlgoTrader 6 күн бұрын
Thank you!
@stevefernando291
@stevefernando291 7 күн бұрын
The video is very detailed and in-depth! Should I save the model immediately after training and evaluating it with tscv(n) which leaves last bit of testing dataset wasted, or should I retrain it with the best hyperparameters using all the data? The 2nd option concerns me because market conditions are always changing. What would you do?😃
@MLAlgoTrader
@MLAlgoTrader 2 күн бұрын
Hey sorry for late response. You mean after cross validation you are asking if you should retrain . I usually do that but be careful too much parameter grid search can be overfitting too. It is like lottery ticket you try enough combos you can get one right lol
@GordonShamway1984
@GordonShamway1984 7 күн бұрын
thank you!
@MLAlgoTrader
@MLAlgoTrader 6 күн бұрын
Now need to do the voice one lol
@shajikk
@shajikk 8 күн бұрын
Great video. Interactive Brokers has their own Python library for similar tasks. Could you highlight how easy it is to use ib_async in comparison. You can probably discuss the pros and cons of using ib_async versus Interactive Brokers' official library.
@stevefernando291
@stevefernando291 9 күн бұрын
Great vid man, I assume you are using number of trade as size column in your vid, I 've got a question and hopefully you can help me. Will it be the same if we use volume * vwap as dollar_amount_traded_per_row then go ahead to calculate dollar bars? cuz sometimes tick and trade size data are hard to get. Thank you
@MLAlgoTrader
@MLAlgoTrader 9 күн бұрын
Thanks for your comment. I use that for 5 sec bar dollar bars. There might be some minor difference but historical tick data on ibkr I'm not a fan ... Live is amazing...so prefer using 5 sec anyways.
@upstflopped
@upstflopped 11 күн бұрын
great vids man, keep them coming
@MLAlgoTrader
@MLAlgoTrader 10 күн бұрын
Thanks a lot
@Imscottirl
@Imscottirl 11 күн бұрын
Excellent video, very informative and easily understood. Keep it up!
@MLAlgoTrader
@MLAlgoTrader 10 күн бұрын
Thanks a lot
@pablocanovas9626
@pablocanovas9626 11 күн бұрын
Mamba did it again! Great tutorial, difficult to find this information on KZbin. What stops you guys from being rich?
@MLAlgoTrader
@MLAlgoTrader 11 күн бұрын
You mean what stops us from being broke? Honestly a few months ago I let emotions get in the way not just algorithms and I suffered a scary loss. So now I'm never letting manual trading get in way again...
@Slap_it_in
@Slap_it_in 12 күн бұрын
Thank you , do you know why I can only sent 1 order and then no others get through? I had a work around where I just reconnected every time I wanted to send an order. I think you would know the issue and how to fix it.
@MLAlgoTrader
@MLAlgoTrader 12 күн бұрын
Hey, I am not sure what you mean? Want to show example? I can send many orders except for option partial fills. Thanks
@Slap_it_in
@Slap_it_in 12 күн бұрын
@@MLAlgoTrader On the chart and in TWS it only shows the order entry on the chart. For some reason it does not place the other two.. Debug shows all correct just for some reason never gets through. I could show you but I don't know how.
@MLAlgoTrader
@MLAlgoTrader 12 күн бұрын
Can you show what ib.openTrades() outputs? Oh you mean it places the parent, but not the children? The children should have status "presubmitted" and only submitted when parent fills.
@Slap_it_in
@Slap_it_in 12 күн бұрын
@@MLAlgoTrader Interesting they are there in open orders, just not visible in TWS. They require the parent to fill before being placed? The parent isn't even transmitted.. When I print the for loop the stop order is missing the transmit=true.
@MLAlgoTrader
@MLAlgoTrader 12 күн бұрын
@@Slap_it_in I am not sure they are open it needs to say presubmitted. Note demo accounts are weird sometimes. Transmit = True just means that is when all the other orders are submitted so you keep transmit = False for parent and limit and have transmit=True for stop. This means that that parent and limit wait to be submitted until the stop is submitted so we don't have an order filling before setting everything up
@AndyKoch
@AndyKoch 12 күн бұрын
What tool are you using there? Jupyter Lab?
@MLAlgoTrader
@MLAlgoTrader 12 күн бұрын
You mean for the GUI? Ipywidgets. For the RAG/LLM Agents I am using Llama INdex
@MLAlgoTrader
@MLAlgoTrader 12 күн бұрын
And jupyter notebook not jupyerlab. Ipywidgets has some bugs with newer jupyerlabs
@tp5024
@tp5024 13 күн бұрын
Amazing video as always!
@MLAlgoTrader
@MLAlgoTrader 13 күн бұрын
Amazing comment as always!
@afekshusterman7951
@afekshusterman7951 13 күн бұрын
Let's go!!!!!!!!!!!!!! as usual, i love your content
@MLAlgoTrader
@MLAlgoTrader 13 күн бұрын
Thanks Afek
@JohnintheTyranny
@JohnintheTyranny 13 күн бұрын
Are you available for a consultation? Need some advice on my algo.
@MLAlgoTrader
@MLAlgoTrader 13 күн бұрын
Can you try sending a message on Twitter.
@JohnintheTyranny
@JohnintheTyranny 13 күн бұрын
Glad you're feeling better
@MLAlgoTrader
@MLAlgoTrader 13 күн бұрын
Thank you !
@MLAlgoTrader
@MLAlgoTrader 13 күн бұрын
Code Here: github.com/adidror005/youtube-videos/blob/main/BollingerBandExample-Actual-Video.ipynb
@najeebchoudhary
@najeebchoudhary 13 күн бұрын
Thanks...!!!
@machines_go_algo
@machines_go_algo 13 күн бұрын
Love the content! It's top quality. Would be great if you did a deep dive on options in the future or release it as a udemy course if it's too advanced and not get a lot of appreciation on KZbin.
@MLAlgoTrader
@MLAlgoTrader 13 күн бұрын
I appreciate your kind words! We will see what the future holds. Options video will definitely have their place.
@FatalityVirez
@FatalityVirez 15 күн бұрын
this was unintentionally so funny btw, but still good explanation man!
@MLAlgoTrader
@MLAlgoTrader 15 күн бұрын
Haha what was funny ? 😂
@Sattaking685
@Sattaking685 16 күн бұрын
Hey what If I want dynamically retrieve all the stocks listed in the exchange is it possible to do so?
@MLAlgoTrader
@MLAlgoTrader 16 күн бұрын
All the stocks ! You have a max amount of subscriptions but you can use a scanner ? For what purpose ?
@Sattaking685
@Sattaking685 16 күн бұрын
Do I have to take max subscription while doing using scan
@MLAlgoTrader
@MLAlgoTrader 16 күн бұрын
Not sure I understand. Maybe I'll ask it another way. Big picture, what do you want to try to do and I'll see if I have a solution.
@Sattaking685
@Sattaking685 16 күн бұрын
Look I want to retrieve instruments details of stock,future,option from any exchange around so that I can trade in different currency dynamically it should not be hard coded. After the instruments is retrieved it will have shortlist the best performing stocks
@Sattaking685
@Sattaking685 16 күн бұрын
And I am not able to retrieve all the listed instruments from any exchange please help me to do so
@PSVDEVAN22
@PSVDEVAN22 16 күн бұрын
Great sharing , I was exploring idea ,in time and sales where bid or ask are being hit by market order ,the price goes up or down .how can we get alerted or automate opportunity to enter /exit . Have you thought about it .
@MLAlgoTrader
@MLAlgoTrader 16 күн бұрын
Ok so unfortunately it might be hard to get the kind of data on a real tick level historically with ibkr I think, but I need to double check..You get bid and ask data separately from trade and although you get all ticks it is hard to match between them. I'll need to check this sometime. With live data yes you can absolutely do it I think but you will have to store it yourself every day and then do research. But I thought of these and auction/tick imbalances stuff like that but it is hard to get a lot of historical data on it.
@PSVDEVAN22
@PSVDEVAN22 16 күн бұрын
@@MLAlgoTrader Thanks for the reply , yes it will be on live data . if you see the time and sales we do have color codes indicating if the stock was purchased higher then the ask price via green ,when bought on bid white and sold below bid price red .Mostly they are market orders trying to move the market either up or down .I was just thinking how can you track those market moves. Can comparison of tick data vs bid or ask at that moment price can show any information ?I will try to observe when market opens tomorrow too. This is just to scalp quick in out entry exit strategy .
@MLAlgoTrader
@MLAlgoTrader 16 күн бұрын
Let me know if you find something I'll let you know also but not sure I'll have time to look anytime soon
@PSVDEVAN22
@PSVDEVAN22 16 күн бұрын
@@MLAlgoTrader Sure ,I just started to explore TWS API .Long journey still .Your videos are really helping a lot .Thanks again for putting so much effort and sharing it .
@MLAlgoTrader
@MLAlgoTrader 16 күн бұрын
@@PSVDEVAN22 To be clear I am using ib_async which was ib_insnyc a, open source library with thousands of users, but the creator passed unfortunately. IBKR has an official TWS api, but much harder to use for beginners and I recommend anyways doing this first since this fits well with Alpaca for example.
@PSVDEVAN22
@PSVDEVAN22 16 күн бұрын
Thank you for sharing, your new subscriber .Just started my journey exploring TWS API ,your video really helps in my learning journey .
@MLAlgoTrader
@MLAlgoTrader 16 күн бұрын
Thanks market is closed now so tomorrow video will be more useful haha 😂
@PSVDEVAN22
@PSVDEVAN22 16 күн бұрын
@@MLAlgoTrader Thank you
@vincentchan7397
@vincentchan7397 18 күн бұрын
Great stuff. I was already using ib_insync and am glad that you are using now the latest fork ib_async. Subscribed!
@MLAlgoTrader
@MLAlgoTrader 16 күн бұрын
Awesome, thank you!
@azkarathore4355
@azkarathore4355 19 күн бұрын
Can you make video for fine-tuning llama 3 for machine translation task
@MLAlgoTrader
@MLAlgoTrader 19 күн бұрын
Always down for new idea but I don't know if I can get to that soon..I had an idea to do text summarization which can be done in a similar architecture way to machine translation but different metrics of course.
@MLAlgoTrader
@MLAlgoTrader 19 күн бұрын
What I mean is I am willing but probably can't do it in next two months. What languages were you thinking just wondering?
@azkarathore4355
@azkarathore4355 15 күн бұрын
@@MLAlgoTrader English to urdu language
@GordonShamway1984
@GordonShamway1984 19 күн бұрын
best of all, as always
@MLAlgoTrader
@MLAlgoTrader 19 күн бұрын
Thanks again!
@judoguy79
@judoguy79 20 күн бұрын
Awesome video. It's quite helpful. Any chance that you know how to allow connections to TWS from another computer on your network? I've been looking for a way to database market price data in real time across multiple stocks. It'd be awesome if you had any pointers or advice. Can't wait for part two!😊
@MLAlgoTrader
@MLAlgoTrader 20 күн бұрын
I don't know if this is possible, but I haven't tried . If I get a second PC I'll try lol but I have one half working one at moment.
@PrashantJain-uq8mu
@PrashantJain-uq8mu 20 күн бұрын
Great stuff. Do you have something for absolute beginners like setting up python, libraries, Ibkr API and creating an option dashboard to track gamma levels. It would be great if you could make one or point me to a resource. Thanks for sharing your knowledge.
@MLAlgoTrader
@MLAlgoTrader 20 күн бұрын
I would love to but don't know when I will have time. I recommend maybe getting started with anaconda ? The gamma stuff isn't begginers haha 😂 but yeah noted your request on to do list eventually I get to everything
@Aaron-zv2sx
@Aaron-zv2sx 20 күн бұрын
This is amazing!
@MLAlgoTrader
@MLAlgoTrader 20 күн бұрын
Thanks a lot.
@konturgestalter
@konturgestalter 20 күн бұрын
love it
@MLAlgoTrader
@MLAlgoTrader 20 күн бұрын
😂😂 You couldn't have watched it yet lol.
@konturgestalter
@konturgestalter 20 күн бұрын
@@MLAlgoTrader correct!! 😂 but it is exactly the topic I was looking for😂