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.
@MLAlgoTrader16 сағат бұрын
Thanks a lot yeah ai videos are in maybe I'll do an NBA one... Appreciate the comments
@charlesrambo784516 сағат бұрын
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.
@MLAlgoTrader15 сағат бұрын
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
@MLAlgoTrader15 сағат бұрын
Damn I can't find code link to this video. In all new videos I have code.
@charlesrambo784512 сағат бұрын
@@MLAlgoTrader No worries. I really appreciate your work in these videos.
@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Күн бұрын
Do you mean like in the prompt describing more clearly what you want for positive neutral and bearish?
@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Күн бұрын
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Күн бұрын
@@MLAlgoTrader Thank you so much.❤
@am7-pКүн бұрын
Growing your KZbin channel is like growing your garden. It takes time.
@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Күн бұрын
Thanks for your comments also I always appreciate the
@am7-pКүн бұрын
To my understanding, ib_insync is not compatible with Plotly Dash am I correct?
@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Күн бұрын
@@MLAlgoTrader AFAIR Ewald (RIP) suggested FAST API as the web UI platform compatible with ib_insync.
@paulrelfКүн бұрын
Very cool. Always learning something new on your channel.
@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.
@saurabhvadukia5 күн бұрын
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
@MLAlgoTrader2 күн бұрын
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
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.
@MLAlgoTrader6 күн бұрын
Really I never had this issue. Demo or real account ?
@JohnintheTyranny6 күн бұрын
@@MLAlgoTrader paper, demo account
@MLAlgoTrader6 күн бұрын
Paper accounts sometimes do weird things to be honest.
@mateoh3277 күн бұрын
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.
@MLAlgoTrader2 күн бұрын
Thanks sorry for late response. Yeah wap could be more accurate but sometimes they are similar if you use 5 second bars lol.
@psvdevan7 күн бұрын
Thank you
@MLAlgoTrader6 күн бұрын
Thank you!
@stevefernando2917 күн бұрын
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?😃
@MLAlgoTrader2 күн бұрын
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
@GordonShamway19847 күн бұрын
thank you!
@MLAlgoTrader6 күн бұрын
Now need to do the voice one lol
@shajikk8 күн бұрын
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.
@stevefernando2919 күн бұрын
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
@MLAlgoTrader9 күн бұрын
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.
@upstflopped11 күн бұрын
great vids man, keep them coming
@MLAlgoTrader10 күн бұрын
Thanks a lot
@Imscottirl11 күн бұрын
Excellent video, very informative and easily understood. Keep it up!
@MLAlgoTrader10 күн бұрын
Thanks a lot
@pablocanovas962611 күн бұрын
Mamba did it again! Great tutorial, difficult to find this information on KZbin. What stops you guys from being rich?
@MLAlgoTrader11 күн бұрын
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_in12 күн бұрын
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.
@MLAlgoTrader12 күн бұрын
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_in12 күн бұрын
@@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.
@MLAlgoTrader12 күн бұрын
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_in12 күн бұрын
@@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.
@MLAlgoTrader12 күн бұрын
@@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
@AndyKoch12 күн бұрын
What tool are you using there? Jupyter Lab?
@MLAlgoTrader12 күн бұрын
You mean for the GUI? Ipywidgets. For the RAG/LLM Agents I am using Llama INdex
@MLAlgoTrader12 күн бұрын
And jupyter notebook not jupyerlab. Ipywidgets has some bugs with newer jupyerlabs
@tp502413 күн бұрын
Amazing video as always!
@MLAlgoTrader13 күн бұрын
Amazing comment as always!
@afekshusterman795113 күн бұрын
Let's go!!!!!!!!!!!!!! as usual, i love your content
@MLAlgoTrader13 күн бұрын
Thanks Afek
@JohnintheTyranny13 күн бұрын
Are you available for a consultation? Need some advice on my algo.
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.
@MLAlgoTrader13 күн бұрын
I appreciate your kind words! We will see what the future holds. Options video will definitely have their place.
@FatalityVirez15 күн бұрын
this was unintentionally so funny btw, but still good explanation man!
@MLAlgoTrader15 күн бұрын
Haha what was funny ? 😂
@Sattaking68516 күн бұрын
Hey what If I want dynamically retrieve all the stocks listed in the exchange is it possible to do so?
@MLAlgoTrader16 күн бұрын
All the stocks ! You have a max amount of subscriptions but you can use a scanner ? For what purpose ?
@Sattaking68516 күн бұрын
Do I have to take max subscription while doing using scan
@MLAlgoTrader16 күн бұрын
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.
@Sattaking68516 күн бұрын
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
@Sattaking68516 күн бұрын
And I am not able to retrieve all the listed instruments from any exchange please help me to do so
@PSVDEVAN2216 күн бұрын
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 .
@MLAlgoTrader16 күн бұрын
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.
@PSVDEVAN2216 күн бұрын
@@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 .
@MLAlgoTrader16 күн бұрын
Let me know if you find something I'll let you know also but not sure I'll have time to look anytime soon
@PSVDEVAN2216 күн бұрын
@@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 .
@MLAlgoTrader16 күн бұрын
@@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.
@PSVDEVAN2216 күн бұрын
Thank you for sharing, your new subscriber .Just started my journey exploring TWS API ,your video really helps in my learning journey .
@MLAlgoTrader16 күн бұрын
Thanks market is closed now so tomorrow video will be more useful haha 😂
@PSVDEVAN2216 күн бұрын
@@MLAlgoTrader Thank you
@vincentchan739718 күн бұрын
Great stuff. I was already using ib_insync and am glad that you are using now the latest fork ib_async. Subscribed!
@MLAlgoTrader16 күн бұрын
Awesome, thank you!
@azkarathore435519 күн бұрын
Can you make video for fine-tuning llama 3 for machine translation task
@MLAlgoTrader19 күн бұрын
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.
@MLAlgoTrader19 күн бұрын
What I mean is I am willing but probably can't do it in next two months. What languages were you thinking just wondering?
@azkarathore435515 күн бұрын
@@MLAlgoTrader English to urdu language
@GordonShamway198419 күн бұрын
best of all, as always
@MLAlgoTrader19 күн бұрын
Thanks again!
@judoguy7920 күн бұрын
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!😊
@MLAlgoTrader20 күн бұрын
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-uq8mu20 күн бұрын
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.
@MLAlgoTrader20 күн бұрын
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-zv2sx20 күн бұрын
This is amazing!
@MLAlgoTrader20 күн бұрын
Thanks a lot.
@konturgestalter20 күн бұрын
love it
@MLAlgoTrader20 күн бұрын
😂😂 You couldn't have watched it yet lol.
@konturgestalter20 күн бұрын
@@MLAlgoTrader correct!! 😂 but it is exactly the topic I was looking for😂