Skip to content

Failed ws DCP #561

Description

@ManhPham18

I am using setDisconnectCancelAllWindowV2, but the documentation states:
"Your private websocket connection must subscribe to the 'dcp' topic in order to trigger DCP successfully."
However, when I subscribe using:
wsOrder.subscribeV5("dcp.future",'linear')
wsOrder.subscribeV5("dcp.spot",'spot')
or
wsOrder.subscribeV5(["dcp.future","dcp.spot"])
it fails every time, returning errors such as:
success: false,
ret_msg: 'error:handler not found,topic:dcp.future',
conn_id: 'd9jhogatbetvf6evjmc0-8eoj',
req_id: 'dcp.future',
op: 'subscribe',
wsKey: 'v5LinearPublic',
isWSAPIResponse: false or Error: Category cannot be undefined.
Could you please explain this and review the library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions