Thank you for this component. Just came across it myself when Alpha Vantage free tier kicked in at 5 per minute. For the scan interval, do you know if the API has limits that would not allow me to drop the scan interval to every 5 minutes or something more frequent? Iâd like to create some stop loss alerts using input_numbers and then have the automation trigger when it drops below those numbers. I think something more frequent then every 60 minutes would be best but I dont want to hit API limits too.
Installed this integration on my HA 0.106.5. Rebooted the server and HA would not start. Had to remove all files för Avanza under Custom Componets to get HA working again
Thoose errors would have been useful, hard for me to help without logs. Iâll see if I have time to try out 0.106.5, on 106.2 right now. I would recommend to install it using HACS.
One question, maybe just me being stupid, but when using monitored_conditions I do get readings from them, but how can I display them in my frontend? When creating a card in lovelace I can only find the sensor.stockname, but when the card is created I can click on it and then I can see the rest of the monitored conditions. But how can I pick one of them to display on its own in a card?
Aha, shouldnât be that hard then!
I am already using HACS and quick look at the links you shared it seems like it should not be that hard to get what I want actually
Ill give it a try tonight
Thanks for the help!
And again, great job on the component
Works great! Thanks, I also saw you put the " % gain/loss calculation " on your todo list! Bravo. Great work on this, seems to be more robust and works better then the alpha vantage integration. Iâd love to have this integrated directly into hass for easier updates / watching the repo, but you canât win them all I suppose. Iâm going to open up a short ticket for something that may interest you as an enhancement. Fractional shares! Iâm one of many people now who partake in fractional share buying/selling. I know this integration doesnât do a whole lot of that, but for people (and when you have gain loss calc working) who use fractional shares, this would mean more accurate reporting in hass. Just a thought, cheers!
Tjena @claha!
Thanks for this component - love it! have you considered to specify the opening hours for each market in order to not update the stocks when the markets arenât open?
Has anyone come up with a beautiful way of presenting this? Iâm quite new to Home Assistant and havenât found the best way for that yet?
Wow, thatâs really helpful! Very nice! Perfect for a rookie like me to piggyback
Can I just ask, in order to display any of the monitored_conditions/attributes, do I use a template sensor or what is the easiest way to get the changePercent dispayed?
How do you @eifinger get a history graph of the stock, mine is flat and the dates are todays dates only:
Go to Developer Tools -> Services and use homeassistant.update_entity You might need to enable Developer Tools⊠You can write a script that updates all your stocks using that service, I use it update all my stocks after stock market closes and then send a daily summary
You need to have the hours of data in the database. If you just added the sensors it will take some days until the graphs show something else than a flat line
Can I ask if you have solved it so that the graph show this year in a graph, meaning how a stock/market has developed since January 1st or since the first of the current month (April 1st)?