【问题标题】:Python: What is the new historical yahoo URL?Python:新的历史雅虎 URL 是什么?
【发布时间】:2014-09-25 06:03:17
【问题描述】:

我说 Python 是因为我正在使用它,但我怀疑这个问题更普遍。

我在检索 Yahoo 的历史财务数据时遇到错误。

3 次尝试后,Yahoo!没有为 url 返回 200 'http://ichart.finance.yahoo.com/table.csv?s=GOOG&a=0&b=1&c=2013&d=0&e=1&f=2014&g=d&ignore=.csv',

我怀疑这是与this other discussion 类似的问题。其中,罪魁祸首是雅虎将子域从 ichart.yahoo.com 更改为 ichart.finance.yahoo.com。

【问题讨论】:

  • 你的 Pandas 版本是什么?
  • 你试过了吗(finance.yahoo.com/charts)
  • 使用邮递员,我能够检索 csv 超过 3 次

标签: python csv pandas yahoo-finance


【解决方案1】:

请尝试以下网址。 我基本上是从雅虎的历史价格链接中复制的。 http://real-chart.finance.yahoo.com/table.csv?s=GOOG&d=9&e=26&f=2014&g=d&a=2&b=27&c=2014&ignore=.csv

【讨论】:

    猜你喜欢
    • 2023-03-16
    • 2014-04-18
    • 1970-01-01
    • 2017-11-29
    • 1970-01-01
    • 2022-12-05
    • 2018-04-21
    • 2023-01-11
    • 2020-06-18
    相关资源
    最近更新 更多