Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

期货TLL.CFX主力合约接口返回错误 #1734

Open
AiryKX opened this issue May 5, 2024 · 0 comments
Open

期货TLL.CFX主力合约接口返回错误 #1734

AiryKX opened this issue May 5, 2024 · 0 comments

Comments

@AiryKX
Copy link

AiryKX commented May 5, 2024

df_main = pro.fut_mapping(ts_code='TLL.CFX', start_date='20230608', end_date='20230613')
print(df_main)

ts_code trade_date mapping_ts_code
0 TLL.CFX 20230613 TL2309.CFX
1 TLL.CFX 20230612 TL2309.CFX
2 TLL.CFX 20230609 TL2306.CFX
3 TLL.CFX 20230608 TL2306.CFX

20230609合约TL2306已经是最后一天,此时的主力合约早就切换了,而接口返回还是TL2306

ID:126115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant