Micro-sheep / Micro-sheep/efinance

ef.futures.get_quote_history 无法获取已到期的期货合约的历史数据

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.1k
Forks
755
PR merge metrics
No merged PRs in 30d

Description

以今天20241023为例,ef.futures.get_quote_history("113.fu2411") 可以正常获取历史数据,但是对于已到期的期货合约,比如113.fu2410及更早的期货合约,ef.futures.get_quote_history("113.fu2410")则无法获取任何数据,这导致回调测试变得无法进行,请问能否增加对于已到期的期货合约的历史数据的获取,谢谢。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue through ef.futures.get_quote_history("113.fu2410") and compare it with the working "113.fu2411" request. Trace that entry point to determine how historical data is retrieved for expired contracts. Done means expired contracts return historical data and callback testing can proceed.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.