Skip to content

Trouble with Smart Trades #2

@theDanielJLewis

Description

@theDanielJLewis

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions