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

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

Open
kenzatek opened this issue Oct 24, 2023 · 2 comments
Open

Comments

@kenzatek
Copy link

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.

@cesarmarduk
Copy link

i have the same error

@PeterOwira
Copy link

me too, any lead on this

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

3 participants