Closed qerim closed 2 years ago
I dont know if this information is available from the avanaza api, habe you seem the information on the webpage somewhere? Or do you have any ideas on how to detect this automatically? Other integrations doing something similar?
I guess one way would be to have a binary sensor (stock_market_open) as an optional argument which must be true for the update to happen. But this would then have to be controlled by the user when to set this to true/false.
I am also not sure what will hapoen with the graph if there is a few hours without updates, if the x-axis is time I guess there would still be a long flat line
I have the following config:
However, as you can see, it's scanning every 60 minutes even after trading hours, which produces these flat line graphs:
Any way to get this to stop scanning after trading halts?