Micro-sheep / Micro-sheep/efinance
基金接口 "估算时间" "估算涨跌幅" 返回值为None
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 755
- PR merge metrics
- No merged PRs in 30d
Description
请问为什么这两个参数返回都是空?
```
# 导入 efinance 库
import efinance as ef
# 基金代码列表
fund_codes = ['011840']
# 获取多只基金实时涨幅估计
ef.fund.get_realtime_increase_rate(['040046','501205'])
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the fund call shown in the issue, especially ef.fund.get_realtime_increase_rate(['040046','501205']), and trace the relevant fund API entry point. Compare the returned values with the expected realtime estimates and identify a focused regression test; done means the function no longer returns None for valid fund codes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100