JSON中的实时股市数据 [英] Real time stock market data in JSON

查看:124
本文介绍了JSON中的实时股市数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道开始构建api的地方是什么? 从哪里可以了解当前的市场状态?

I was wondering what the place to go to start building an api would be? Where does one get the current state of the market?

这里的目标是构建一个API,其中::

The goal here is to construct an api where ::

MyStocksSite.org/stock?name=GOOG&start=-24h0m0s

将返回json

Goog24h0m0s = {price:[...],time:[...]}

鉴于可靠的数据来源,这应该相当简单.

This should be fairly simple given a dependable source for data.

此外,如果有用于实时库存跟踪应用程序的示例汇编,那将是个难题.如果有某个地方已经在json中发布了,我什至不需要在那里建任何东西,但是我仍然很想知道它!

Also If there is a compilation of examples for real time stock tracking applications, that would be kewl. If there was a place where it already came out in json I nothing need even be built to there, but I would still love to know about it!

修改::

我真的很想获得不仅仅是Date,Open,High,Low,Close,Volume和Adj Close的信息.我想获取给定交易日内价格的实际时间序列数据.

I would really like to get more than just the Date, Open, High, Low, Close, Volume, and Adj Close. I would like to have the actual time series data for the prices throughout a given trading day.

推荐答案

此外,根据使用情况以及要缩小股票市场的范围,您可以尝试使用此api中的任何一种. (其中有96个,它们非常有用)

Also, depending on usage, and to narrow down stock market, you can try any from this apis. (There are 96 of them, and they are pretty useful)

股票API

这篇关于JSON中的实时股市数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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