简体   繁体   English

使用 Alpha Vantage 的 Premium Key 从欧洲/德国股市获取历史数据,但不起作用

[英]Using Premium Key from Alpha Vantage to get historical data from european/german stock market, but doesnt work

I think its just a simple question.我认为这只是一个简单的问题。 I have premium access to Alpha vantage and eod historical data, but both doesnt provide historical stock market for example for the ticker "BMW.DE".我可以高级访问 Alpha vantage 和 eod 历史数据,但两者都没有提供股票代码“BMW.DE”的历史股票市场。

install.packages("tidyquant")
library(tidyquant)
av_api_key('XXX')
ticker <- "BMW.DE"
tq_get(ticker,
       get        = "alphavantage",
       av_fun     = "TIME_SERIES_INTRADAY",
       interval   = "60min",
       outputsize = "full")

Warning message:
x = 'BMW.DE', get = 'alphavantager': Error: Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_INTRADAY.. API parameters used: symbol=BMW.DE, function=TIME_SERIES_INTRADAY, interval=60min, outputsize=full, apikey=HIDDEN_FOR_YOUR_SAFETY
 

The same happens with eodhistorical data.生态历史数据也是如此。 I think its just not supported or do I miss something?我认为它只是不受支持,还是我错过了什么?

Second question: Provided it doesnt work, it pyhton a good alternative for that issue?第二个问题:如果它不起作用,那么 pyhton 是解决该问题的好选择吗?

Thank you谢谢

Download intraday stock data from european market从欧洲市场下载盘中股票数据

For BMW, you need to use BMW.DEX or BMW.FRK on Alpha Vantage right now.对于 BMW,您现在需要在 Alpha Vantage 上使用 BMW.DEX 或 BMW.FRK。

Both symbols work for my own codes.这两个符号都适用于我自己的代码。 They also work with the generic web data request: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=BMW.DEX&outputsize=full&apikey= !!!you own premium api!!!他们还使用通用的 web 数据请求: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=BMW.DEX&outputsize=full&apikey= !!!you own premium api!!!

Ideally, Alpha Vantage should publish be a list of symbols for the stocks outside the US But I can't find that list anywhere on their site.理想情况下,Alpha Vantage 应该发布美国以外股票的符号列表,但我在他们网站上的任何地方都找不到该列表。 [Has anyone figured that out yet?] [有人想通了吗?]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM