如何从市场获得CID和Google财经的交易代码 [英] How to get cid from market and symbol from google finance

查看:149
本文介绍了如何从市场获得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.

它需要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财经的交易代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆