Skip to content

ResponseError("Please enter a stake amount that's at least 0.35.") #30

@kenzatek

Description

@kenzatek

proposal = await api.proposal({"proposal": 1,
"amount": 0.99,
"barrier": "6",
"basis": "stake",
"contract_type": "DIGITDIFF",
"currency": "USD",
"duration": 1,
"duration_unit": "t",
"symbol": TR_SYM
})
The issue here it seems, the proposal does not see the digits after the decimal point for the amount. When I put 1.2 it only registers 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions