-
Notifications
You must be signed in to change notification settings - Fork 86
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
BSIP81: Simple Maker-Taker Market Fees #229
Comments
@ryanRfox please assign a BSIP number. Thanks. |
This BSIP doesn't include the flat BTS market fee? |
No.
Margin positions do not pay market fees (neither maker nor taker). This BSIP does not propose to change that. |
Is that possible to allow Negative market_fee_percent such as -0.02% for maker? This allow asset owners provide incentive for market makers and decrease Bid Ask Spread. |
@abitmore
|
Technically, who will pay this? For example, in the |
Doesn't it exactly this BSIP? You mean the 0.01 cent flat fee? |
@pmconrad and I don't think so!
Yes |
It does make some sense, but technically it's a totally different thing, I think it's best to create a new BSIP for it. |
I like this. The restriction should be that the maker fee (reward) can be completely paid by the taker fee. And then of course, the maker reward is paid by taker fee. |
You didn't understand the question. Maker fee is in asset A but taker fee is in asset B. Asset A's owner may have no right to set fee rates of asset B, nor increasing asset B's supply from nowhere. |
Ah, yes I did not have that in mind... An implicit conversion makes no sense. The fee pool could be used (at the mercy of the asset owner certainly). Define a maker/taker market fee, allow negative values. Negative values only mean "up to X", and are paid from fee pool, if balance is available. If not, it falls back to 0% market fee. |
A malicious user can wash trade to empty the pool with zero cost. |
Only if the maker fee (negative) is greater than the taker fee (positive). |
If
Combining this into one trade complicates things a little. Currently, If Pseudocode (only for market_fee_percent < 0):
In each case, the maker account is credited with |
@sschiessl-bcp please reread/rethink:
That said, B can be any other asset (E.G. BTS who has a zero market fee). If A's maker fee is negative, an attacker can put up an order to buy an amount of A with an amount of BTS, then dump the same amount of A onto the order, then he as the maker will get more A asset than he originally owned, by paying nothing (note: for simplification the order creation fee is ignored here). Because currently the market engine is not working like you imagined. Currently the market fees are deducted after the orders got filled but not before, a.k.a. receiver pays the fee. Of course it can be changed (with greater efforts and worth a new BSIP), E.G. when an order is placed, pre-deduct the market fees first if the fee rate is positive, then use the remaining amount to match and fill, a.k.a. payer pays the fee. With this, a portion of that fee can go to the other side as a compensation or incentive, which is effectively a negative fee rate. In addition, the receiver can still pay another fee. Essentially, as Peter described, a negative fee is a shift on match price, which muddy the waters. |
Thanks for the detailed explanations! I like the notion of "paying" makers implicitly through the trade. What do you think of allowing the asset owner to define similar to market fee sharing, but it's called If the |
@sschiessl-bcp I'm not sure if you've understood it -- the fee is in one asset. By the way you can take a look at this post about negative fees: https://bitsharestalk.org/index.php?topic=20482.msg265142#msg265142 . |
My last suggestion accounts does not assume the fee is present in different assets. A fixed cut of market fee can be set which goes to the makers, just like market fee sharing. Asset owner can already decide to reward referrers, and with this suggestion also makers in his markets. |
Draft merged in #231. Closing the issue. |
Abstract
BSIP67 proposed a mechanism which has maker-taker fees in consideration, but it's relatively complex.
This BSIP proposes a protocol change to enable asset owners to specify different market fee rate for maker orders and taker orders.
Motivation
Asset owners need tools to incentivize trading of their assets.
Rationale
Maker-taker fee model is adopted widely in centralized exchanges and helped them to attract trading activities.
Specification
There is already a flag
market_fee_percent
in asset options.Add a new flag
taker_fee_percent
into asset options, assignmarket_fee_percent
totaker_fee_percentage
at the consensus upgrade time for existing assets. The new flag can only be set or updated by asset owners after the consensus upgrade.Before the consensus upgrade, when an order buying that asset got filled, the amount
bought_amount * market_fee_percent
will go to the asset's accumulated fees.After the consensus upgrade, when an order buying the asset got filled,
bought_amount * market_fee_percent
will go to the asset's accumulated fees;bought_amount * taker_fee_percent
will go to the asset's accumulated fees.Copyright
This document is placed in the public domain.
The text was updated successfully, but these errors were encountered: