Since I am the only non-software engineer here (), maybe someone has a tip for me here…
What are you using to get historical stock/etf prices directly in python?
The google finance API that used to work with pandas_datareader.data is kaputt and the other API options listed here are limited in the time-span they cover, or the stocks/etfs they offer (limited European-listed stocks/etfs).
Thanks.
PS: Yes, I know I can do this all in google sheets…
You’re right, thanks! I had read somewhere that it, too, had been discontinued, but didn’t actually try it out. Yahoo seems to have OK coverage of non-US-listed stocks.
I was curious about how often the ETF dropped by X% as my strategy is regular purchases + extra ones when it drops by 6%, 12%, 18%, etc. from its last peak. By my count, with this strategy, I would have put extra money into VWRL 19 times in the past ~7 years (13 times at -6%, 5 at -12% and once at -18%).
Just curious on the strategy - how much are these “extra” purchases (e.g. as proportion of your “regular” ones)?
And how did you decide for these 6/12/18% specifically?
Basically, the amount should be whatever I have in cash that I can reasonably put into an investment and still have a big enough amount of cash sitting around for normal expenses. Should be more or less equal to my normal monthly purchases. The 6% etc. is arbitrary, but back-checking makes this appear to be somewhat reasonable. This is a totally arbitrary strategy…but I think it is good to have a self-defined metric for putting extra money into the market to prevent too much emotional buying on bad news.
I am also using Alpha Vantage and I am satisfied. I am fetching the weekly data of all the stocks and etfs from nyse and nasdaq. The only problem is that the free account is limited to 1 call every 12 seconds, and maximum 500 calls per day
By reading and partipating to this forum, you confirm you have read and agree with the disclaimer presented on http://www.mustachianpost.com/
En lisant et participant à ce forum, tu confirmes avoir lu et être d'accord avec l'avis de dégagement de responsabilité présenté sur http://www.mustachianpost.com/fr/
Durch das Lesen und die Teilnahme an diesem Forum bestätigst du, dass du den auf http://www.mustachianpost.com/de/ dargestellten Haftungsausschluss gelesen hast und damit einverstanden bist.