本文介绍了如何从市场获得CID和Google财经的交易代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从 Google财务中获取历史数据.

I would like to fetch the historical data from google finance.

网址应该是这样的,这是Apple的链接.

Url should be like this, this is the link for Apple.

http://www.google.com/finance/historical?cid=22144&startdate=Jan+1%2C+2000&enddate=Jul+30%2C + 2017& num = 30& ei = bNl9WZC7MNCe0wSR8bw4& output = csv

它需要cid

虽然我有商品代号AAAPL和市场名称NASDAQ,但我找不到从商品代号和市场名称获取cid 22144的方法.

I have symbol name AAAPL and market name NASDAQ though, I couldn't find how to get the cid 22144 from symbol and market name.

Google财务API已关闭.

Google finance API is already closed.

我如何获得身份证号码?

How can I get cid number ???

推荐答案

确定要使用cid吗?我刚刚尝试了向Google财经提出的请求:

Are you certain you need the cid? I just tried this request to Google Finance:

> https://www.google.co.uk/finance/historical?q=NASDAQ%3AAAPL&ei=k-99WaD9NMSYUsu_moAC&output=csv

此请求返回了一个csv文件.

This request returned a csv file.

这篇关于如何从市场获得CID和Google财经的交易代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 16:52