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

Add equivalent of Hive fill_or_kill to market contract #45

Open
bt-cryptomancer opened this issue Jun 15, 2023 · 0 comments
Open

Add equivalent of Hive fill_or_kill to market contract #45

bt-cryptomancer opened this issue Jun 15, 2023 · 0 comments

Comments

@bt-cryptomancer
Copy link
Contributor

bt-cryptomancer commented Jun 15, 2023

Idea from stoodkev:

On Hive internal market you can make a transaction like this :
https://hiveblocks.com/tx/29184b361fe8eceaaeac44d38e1dbb807d4e7ee5

Basically saying I want to sell all of this amount of HIVE, and cancel it if the result is not at least this amount of HBD
That makes it possible to define a kind of slippage on the market buy or market sell.

That would be super helpful because as it is, we can only implement "soft slippage" based on a market estimate at a given time, but we can't make sure that the slippage would be respected.

image

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

1 participant