Metadata-Version: 2.0
Name: fund
Version: 0.1.dev0
Summary: 国内基金API接口
Home-page: https://bitbucket.org/yafeile/fund
Author: fly
Author-email: yafeile@sohu.com
License: GPLv3
Description-Content-Type: UNKNOWN
Keywords: fund
Platform: UNKNOWN
Requires-Dist: msgpack

===================
基金数据API
===================

使用如下的方法调用接口 ::

    from fund import get


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


    get('000148')

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


    get('000148', 60)

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

    history('000148')

