We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to cancel my order with the custom client order id using rest.Trade.Orders.cancelOrderByClientOid(), but it doesn't do anything.
I was looking in the code, and it seems the function arguments are incorrect:
exports.cancelOrderByClientOid = async function cancelOrderByClientOid({ symbol, tradeType } = {}) { return await Http().DEL(`/api/v1/order/client-order/${clientOid}`); };
Should be something like:
exports.cancelOrderByClientOid = async function cancelOrderByClientOid(clientOid) { return await Http().DEL(`/api/v1/order/client-order/${clientOid}`); };
For now I have to use the unique order id with cancelOrder() as returned by postOrder(), but it's not ideal.
The text was updated successfully, but these errors were encountered:
ISAAC-XXYYZZ
No branches or pull requests
I'm trying to cancel my order with the custom client order id using rest.Trade.Orders.cancelOrderByClientOid(), but it doesn't do anything.
I was looking in the code, and it seems the function arguments are incorrect:
Should be something like:
For now I have to use the unique order id with cancelOrder() as returned by postOrder(), but it's not ideal.
The text was updated successfully, but these errors were encountered: