Comments (6)
暂时没有这种获取基金列表的接口,也没有特别的近期开发规划。如果做的话,就是基于天天基金的搜索推荐就可以。具体的就是这个: "http://fundsuggest.eastmoney.com/FundSearch/api/FundSearchAPI.ashx?callback=&m=1&key=基建"
,暂时用的话可以自己包一下,之后我也可能把接口先扔到 xa.misc 里。至于把这个接口怎么设计,怎么放进公开的 API 里,我还没想好。
from xalpha.
好的。我也思考一下,对这个需求做个讨论。谢谢!
from xalpha.
跟进一下获取相关基金列表的这个问题。现在我在 misc 里有两个函数。一个是 xa.misc.get_ttjj_suggestion("基建")
会返回一个关键字有基建的基金及元信息的字典。
另一个是 xa.misc.get_fund_list("hh")
自变量可以是 hh,zq, zs, gp, qdii, fof 分别对应混合,债券,指数,股票型的全部基金列表。具体接口怎么改善,怎么将这些返回基金列表类的功能并入主线,我还是没想好。
from xalpha.
一个建议,
根据指数来反向查询对应的基金列表是最准确的,这部分数据很规整。
我自己用过的数据源fundsmart,开放的网页,不需要登录。
from xalpha.
@leeleilei 请问有网站的链接吗,我 google 了一下 fundsmart,没看到相关的内容
from xalpha.
from xalpha.
Related Issues (20)
- 场内分红问题 HOT 1
- 期待解锁宏观数据 from ycharts HOT 1
- ycharts 数据拉取错误 HOT 3
- 可以回测基于策略的基金买入卖出收益吗 HOT 1
- 增量更新分拆信息解析出错 HOT 1
- 测试”技术指标交叉类“时报错 HOT 1
- 使用多进程时报错 HOT 1
- xa.indexinfo接口无法使用 HOT 3
- indicator_cross中start日期问题 HOT 1
- 计算基金收益报错
- pandas更新之后dataframe没有append了 HOT 2
- the pinning pyecharts version doesn't support python3.10+
- sqlalchemy >= 2 报错 HOT 2
- [Warning] RCE in xalpha v0.11.4 ~ v0.11.8 HOT 4
- 请问作者怎么通过基金交易单申赎基金呀 HOT 1
- VInfo失效。
- 添加米筐数据源支持。
- 数据错误。 HOT 1
- indexinfo报错 HOT 1
- 这个问题是2023年年末提出的,请问当前数据源是否是正常运行的,包含最近三年的及时数据 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xalpha.