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

订阅行情和取消订阅行情的应答数据格式有误 #17

Closed
DennisXie opened this issue Apr 10, 2023 · 1 comment
Closed

订阅行情和取消订阅行情的应答数据格式有误 #17

DennisXie opened this issue Apr 10, 2023 · 1 comment
Labels
bug Something isn't working high High priority issue.

Comments

@DennisXie
Copy link
Member

DennisXie commented Apr 10, 2023

期望为

{
  "MsgType": "OnRspUnSubscribeMarketData",
  "SpecificInstrument": {
    "InstrumentID": "au2305"
  },
  "RspInfo": {
    "ErrorID": 0,
    "ErrorMsg": ""
  },
  "RequestID": 0,
  "IsLast": true
}

实际是

{
    "MsgType": "OnRspSubMarketData",
    "RspInfo": {
        "ErrorID": 0,
        "ErrorMsg": "CTP:No Error"
    },
    "RequestID": 0,
    "IsLast": true,
    "SpecificInstrument": "ag2306"
}
@DennisXie DennisXie added bug Something isn't working high High priority issue. labels Apr 10, 2023
DennisXie added a commit that referenced this issue Apr 11, 2023
issues17 订阅行情和取消订阅行情的应答数据格式有误 #17
@DennisXie
Copy link
Member Author

resolved in #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high High priority issue.
Projects
None yet
Development

No branches or pull requests

1 participant