Closed korilium closed 2 years ago
The problem is in Julia parser. :IUSA.DE
is treated by Julia as a call to a field DE
of the symbol :IUSA
.
You should either use long form of symbol construction Symbol("IUSA.DE"))
or just use strings instead of symbols.
So, both of this should work
using MarketData
ETF_SP500 = yahoo(Symbol("IUSA.DE"))
ETF_SP500 = yahoo("IUSA.DE")
I want to extract data from a stock exchange in Germany but the Symbol always gets an error due to the DE at the end. From this stock, I want to extract the data: https://finance.yahoo.com/quote/IUSA.DE?p=IUSA.DE&.tsrc=fin-srch My code looks like this:
This is the error I get
Is there a workaround?
Thanks in advance.