Thank you for putting this together!
I'm having trouble creating Smart Trades in a paper account. I know I have my API and secret properly entered because I can get an account list from both paper and real.
When I try to create a Smart Trade, I get the error:
{
"error": "signature_invalid",
"error_description": "Provided signature is invalid"
}
If I send only account_id and pair, then I get:
{
"error": "record_invalid",
"error_description": "Invalid parameters",
"error_attributes": {
"position": [
"is missing"
],
"position[type]": [
"is missing"
],
"position[order_type]": [
"is missing"
],
"position[units]": [
"is missing"
],
"position[units][value]": [
"is missing"
],
"take_profit": [
"is missing"
],
"take_profit[enabled]": [
"is missing"
],
"stop_loss": [
"is missing"
],
"stop_loss[enabled]": [
"is missing"
]
}
}
But add any one of those fields and I get the signature error.
Any ideas? Or is this a 3commas problem?
Thank you for putting this together!
I'm having trouble creating Smart Trades in a paper account. I know I have my API and secret properly entered because I can get an account list from both paper and real.
When I try to create a Smart Trade, I get the error:
{ "error": "signature_invalid", "error_description": "Provided signature is invalid" }If I send only
account_idandpair, then I get:{ "error": "record_invalid", "error_description": "Invalid parameters", "error_attributes": { "position": [ "is missing" ], "position[type]": [ "is missing" ], "position[order_type]": [ "is missing" ], "position[units]": [ "is missing" ], "position[units][value]": [ "is missing" ], "take_profit": [ "is missing" ], "take_profit[enabled]": [ "is missing" ], "stop_loss": [ "is missing" ], "stop_loss[enabled]": [ "is missing" ] } }But add any one of those fields and I get the signature error.
Any ideas? Or is this a 3commas problem?