Skip to content

Add equivalent of Hive fill_or_kill to market contract #45

@bt-cryptomancer

Description

@bt-cryptomancer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions