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?
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: falseorError: Category cannot be undefined.Could you please explain this and review the library?