How to get Moving Average for each day from Yahoo/Google Finance API?
-
04-06-2021 - |
Frage
I need the value of Simple Moving Average for each day for Historical data? Is there a way?
Or just for last day?
SMA 20-day, SMA 5-day, SMA 50-day
All this stuff via API or .csv output
Lösung
Doing a quick google search, I could find a page which answered this here which explains which special parameters to pass to query the API. Check it out and see if it satisfies your needs or not.
You can use YQL to query this data from the API specified in the link. The link to YQL console to test this can be accessed here
Andere Tipps
Based on google finance, this link should work link Just remember to replace "," comma with semi-colon ";"
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow