Skip to main content

国内基金API接口

Project description

使用如下的方法调用接口

from fund import get

然后调用get方法,传入基金代码,默认是最近30条数据

get('000148')

可以通过num参数修改默认的记录数,最大为半年180天的数据

get('000148', 60)

对于历史数据,可以通过history方法来获取。

history('000148')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fund-0.1.dev0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distributions

fund-0.1.dev0-py2.7.egg (4.6 kB view hashes)

Uploaded Source

fund-0.1.dev0-py2-none-any.whl (4.1 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page