Skip to content

Can't place order through api #32

@coinbreze

Description

@coinbreze

While placing order it throws error, Please help me to resolve this issue

Code
let body = {
coid: coid,
time: timestamporder,
symbol: "ETH/BTC",
orderPrice: "0.020110",
orderQty: "0.1",
orderType: "limit",
side: "buy"
}
request({
url: 'https://bitmax.io/1/api/v1/order',
method: "POST",
json: true,
body: body,
headers: {
'x-auth-key': apikey,
'x-auth-signature': hashInBase641,
'x-auth-timestamp': timestamporder,
'x-auth-coid': coid
},
},
function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body)
}else{
console.log(error);
}
}
);

Response

{ code: 2100, message: 'AccoutGroupMismatch' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions