fhqvst / avanza

A JavaScript client for the unofficial Avanza API
MIT License
228 stars 59 forks source link

constants.paths.CHARTDATA_PATH no longer working #80

Open vasba opened 1 year ago

vasba commented 1 year ago

constants.paths.CHARTDATA_PATH = '/_mobile/chart/orderbook/{0}' is no longer working.

Does anyone know an alternative path that works and returns the data in the same fromat?

Example of expanded url that is no longer working:

https://www.avanza.se/_mobile/chart/orderbook/19002?timePeriod=one_week&resolution=ten_minutes

This was working last week.

erik3rik commented 1 year ago

Same with paths.INSTRUMENT_PATH, both giving 404. Happened 2022-11-24 after the regular "Thursday update" window that normally is every Thursday 07:00 --> 08:00 CET. It was most likely deprecated a long time ago, given that this project is 5+ years old and last update was 2 years ago.