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

Cancel 1 order does not work #9

Open
joobi opened this issue Nov 28, 2018 · 0 comments
Open

Cancel 1 order does not work #9

joobi opened this issue Nov 28, 2018 · 0 comments

Comments

@joobi
Copy link

joobi commented Nov 28, 2018

https://stackoverflow.com/questions/50013678/bitmex-api-php-cancel-1-order-not-working

Here is the fix
In the function
private function authQuery($data) {
after
elseif($method == "DELETE") {
replace :
$params = json_encode($data['params']);
with:
$params = http_build_query( $data['params'] );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant