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

ak.get_roll_yield 输出结果有误 #3370

Closed
JaveCai opened this issue Jan 12, 2023 · 0 comments
Closed

ak.get_roll_yield 输出结果有误 #3370

JaveCai opened this issue Jan 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JaveCai
Copy link

JaveCai commented Jan 12, 2023

描述遇到的问题

  1. 操作系统版本 WIN10

  2. Python 版本 3.8.5

  3. AKShare 版本 1.8.55

  4. 接口的名称和代码
    case 1: df = ak.get_roll_yield(date="20230103", var="IM", symbol1="IM2301", symbol2="IM2306")
    case 2: df = ak.get_roll_yield(date="20230103", var="IM", symbol1="IMM1", symbol2="IMS2")

  5. 接口报错的截图或代码
    case 1: (0.05068073305181227, 'IM2301', 'IM2303')
    case 2:
    image

  6. 期望获得的正确结果
    case 1: 输入symbol2=IM2306, 期望得到的结果也是IM2303.
    case 2: 输入symbol1=IMM0, symbol=IMS2, 期望能正常输出结果(目前等价于IM2301和IM2306).

@JaveCai JaveCai added the bug Something isn't working label Jan 12, 2023
@JaveCai JaveCai changed the title ak.get_roll_yield ak.get_roll_yield 输出结果有误 Jan 12, 2023
@albertandking albertandking pinned this issue Apr 7, 2023
@albertandking albertandking unpinned this issue May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants