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

min_volume for PLG20 order can't be lower than 0.01 (0.01 WBTC ~220 USD) #1635

Closed
cipig opened this issue Jan 27, 2023 · 3 comments · Fixed by #1971
Closed

min_volume for PLG20 order can't be lower than 0.01 (0.01 WBTC ~220 USD) #1635

cipig opened this issue Jan 27, 2023 · 3 comments · Fixed by #1971
Assignees
Labels
enhancement New feature or request

Comments

@cipig
Copy link
Member

cipig commented Jan 27, 2023

curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"setprice\",\"base\":\"KMD\",\"rel\":\"WBTC-PLG20\",\"price\":0.0000125,\"volume\":10}"

{"error":"rpc:211] dispatcher_legacy:141] lp_ordermatch:4506] Max rel vol 0.000125 is too low, required: 0.01"}

so i can't post orders for less than 0.01 WBTC-PLG20, which is ~220 USD
in the above setprice call i tried do post a bid for WBTC-PLG20 worth 10 KMD ~2.6 USD at market price... with volume 1000 KMD ~260 USD it works
can we please change this?
i am using latest mm2 from dev branch: http://195.201.0.6/dev/mm2-89f720751-Linux-CI.zip

@cipig cipig changed the title min_volume for PLG20 can't be lower than 0.01 (0.01 WBTC ~220 USD) min_volume for PLG20 order can't be lower than 0.01 (0.01 WBTC ~220 USD) Jan 27, 2023
@shamardy shamardy added the enhancement New feature or request label Sep 27, 2023
@shamardy
Copy link
Collaborator

@borngraced please take a look at this and propose a solution when you have time :)
ref. #1971 (comment)

@shamardy shamardy assigned shamardy and unassigned borngraced Sep 28, 2023
@shamardy shamardy linked a pull request Sep 28, 2023 that will close this issue
@shamardy
Copy link
Collaborator

@borngraced I will fix this in this PR #1971 since it's a small fix #1971 (comment)

@shamardy
Copy link
Collaborator

shamardy commented Oct 3, 2023

Fixed in #1971

@shamardy shamardy closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants