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.00400000. #19

Open
boo24u opened this issue Jul 6, 2023 · 6 comments
Open

Comments

@boo24u
Copy link

boo24u commented Jul 6, 2023

await api.proposal({"proposal": 1, "amount": 0.01, "basis": "stake", "contract_type": "CALLE",
"currency": "LTC", "duration": 5, "duration_unit": "t", "symbol": "1HZ10V"})

this code stucks at ResponseError: Please enter a stake amount that's at least 0.00400000.

@boo24u
Copy link
Author

boo24u commented Jul 8, 2023

ResponseError: Contract's stake amount is more than the maximum purchase price.

@chylli-deriv
Copy link
Contributor

@boo24u We have updated API. Could you please try again?

@PasinduDineth
Copy link

i got the same issue for putting 0.35 as my amount. #31 PR should fix the issue. Currently fixed it locally. Do the change locally and see. Worked for me.

@WaudoDavid
Copy link

WaudoDavid commented Jun 18, 2024

what do you mean by fixing it locally? @PasinduDineth

@PasinduDineth
Copy link

I'm using Ubuntu, so I searched for the library installed location and edited the files indicated in the above PR. So find the location and fix the code. Hope this helps.

@WaudoDavid
Copy link

WaudoDavid commented Jun 18, 2024

Thank you I was able to solve the issue much appreciated. @PasinduDineth

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

4 participants