You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like you are emitting order twice. In ProbitSocket.js you are emitting it for case "order_history" and "open_order". They do return the same data but you are missing the repose data of marketId : order.market_id The probit api reference has marker_id https://docs-en.probit.com/reference#order .
Also I think the 2 cases should call different emit names. case "open_order"'s emit should be "openorder" and case "order_history"'s emit should be "orderhistory" I made the suggested changes below.
It looks like you are emitting order twice. In ProbitSocket.js you are emitting it for case "order_history" and "open_order". They do return the same data but you are missing the repose data of
marketId : order.market_id
The probit api reference has marker_id https://docs-en.probit.com/reference#order .Also I think the 2 cases should call different emit names. case "open_order"'s emit should be "openorder" and case "order_history"'s emit should be "orderhistory" I made the suggested changes below.
The text was updated successfully, but these errors were encountered: