forked from bitshares/bsips
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from bitshares/master
merge latest changes to openledger bsips repository Dec 2018
- Loading branch information
Showing
11 changed files
with
530 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
BSIP: 0041 | ||
Title: Reduce MSSR of bitCNY from 1.1 to 1.05 | ||
Author: Jerry Liu <bitcrab@qq.com> | ||
Status: Draft | ||
Type: Protocol | ||
Created: 2018-08-17 | ||
Discussion: https://bitsharestalk.org/index.php?topic=26928.0 | ||
Worker: no | ||
|
||
### **Abstract** | ||
We here propose to reduce the Maximum short squeeze ratio (MSSR) of bitCNY from 1.1 to 1.05, to lower the shorting incentive. | ||
|
||
### **Motivation** | ||
BitShares is a financial system with leverage, here in the traders there are BTS longers and shorters, surely the traders are finding their chance to make profit in trading, if shorters can always find chance to make big profit by shorting BTS, that’s not a good news to BTS ecosystem, from the perspective of the whole BTS ecosystem consisted of DEX and smartcoin, we need to review the rules continually, while guaranteeing fairness and the risks always be released in time, we also need to try optimize the rules to encourage BTS longers, to provide enough incentive to make BTS ecosystem to grow up. | ||
|
||
|
||
### **Rationale** | ||
Currently there are 2 key smartcoin parameters which are maintained by witnesses, they are MCR(Maintenance collateral ratio ) and MSSR(Maximum short squeeze ratio) , now MCR=1.75 and MSSR=1.1. | ||
|
||
When a debt position is margin called, the placed sell orders is at price feed price/MSSR, so MSSR determine the discount of collateral force selling the higher MSSR, the bigger the discount. | ||
|
||
So high MSSR benefits the filling of margin call sell orders and help to release risks rapidly, however at the same time, high MSSR means buying margin call orders is with big discount, so it encourage BTS shorters to accumulate smartcoins and wait or even try to make margin call happen and get cheaper collateral. This does not do good to the ecosystem grow up. | ||
|
||
We need to release risks rapidly while margin call happen, we also need to try to lower the shorting incentive, so we need a balance, what a MSSR is appropriate depend on the liquidity of the market and also some other factors. | ||
|
||
bitCNY have a very good liquidity, BTS/bitCNY pair in DEX is the pair with highest BTS volume on the earth, after in 19th July the hard fork activated the target CR feature, the sell pressure comes from margin called orders decreased greatly, we are sure that the for bitCNY black swan has very very little chance to happen, it’s the time to reduce MSSR to push bitCNY ecosysm move forward. | ||
|
||
### **Specification** | ||
Witnesses adjust the MSSR of bitCNY from 1.1 to 1.05 while publishing feed price. | ||
|
||
### Discussion | ||
#### Will this change be implemented to bitUSD and other smartcoins? | ||
This time, no! bitUSD and other smartcoins has a much lower liquidity than bitCNY, a high MSSR need to be kept to guarantee the rapid settlement of margin called dept positions. | ||
|
||
#### How to make sure a strong consensus is reached? | ||
China community has discussed about this change for years, however, target CR feature + good bitCNY liquidity make current time the good time to do the change, in the forum thread, about 70% of the voters support this change, if necessary, a opinion survey worker proposal will be created to collect stake based opinion. | ||
As MSSR comes from witness publishing, so when BTS community reach a strong consensus to do the change, we need witnesses to apply the change based on the community consensus | ||
|
||
### **Summary for Shareholders** | ||
Reduce shorting incentive while guaranteeing fairness and safe is an important logic for the ecosystem to evolve. | ||
|
||
### **Copyright** | ||
This document is placed in the public domain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
BSIP: 0043 | ||
Title: Market fee sharing | ||
Authors: OpenLedgerApp <https://github.com/OpenLedgerApp> | ||
Status: Draft | ||
Type: Protocol | ||
Created: 2018-08-23 | ||
Updated: 2018-10-19 | ||
Discussion: https://github.com/bitshares/bsips/issues/102 | ||
Worker: | ||
|
||
|
||
# Abstract | ||
|
||
When creating a new asset, the asset owner is the only beneficiary of the market fees in the current implementation. And one of the ways to increase the community growth is the market fee percentage. For example, one can decrease the market fee and it will result in somewhat larger number of trades with this asset. In this way the asset owner might get a bigger profit during to increasing the trade volume with this asset. | ||
|
||
However, there might be another opportunity to promote the asset and stimulate the trading - use native Bitshares referral program. At this time unfortunately an assets owner is not able to share market fees with registrars and referrers to stimulate them to market the asset trading, so we suggest to add this possibility. Furthermore, enabling this feature for MPAs (e.g. bitCNY or bitUSD) can provide additional bounty for Bitshares registrars and referrals which can lead to more traders joining to the ecosystem. | ||
|
||
An asset owner defines the **market_fee_reward_percent** in asset options - what percentage of the market fee he wants to share with the registrar. | ||
**market_fee** * **market_fee_reward_percent** goes the registrar. | ||
**market_fee** * (1 - **market_fee_reward_percent**) goes to the asset owner. | ||
|
||
Registrar splits the reward between itself and its referrers by defining **reward_percent**, which defines referrer's percentage. | ||
It is defined per each other using the already existing BitShares mechanism. | ||
|
||
Market fee reward is accumulated on the user account. | ||
|
||
Each user decides when he wants to claim the market fee reward and move it to their active balance. | ||
|
||
# Motivation | ||
|
||
To make promoting BitShares and bringing new users much more attractive to registrars and referrers by sharing UIAs and MPAs market fees with them. | ||
|
||
# Rationale | ||
When *fill_order_operation* executing at the moment of market fee calculation there will be calculate the reward for the registrar used the parameter **market_fee_reward_percent**. Then this **market_fee_reward_percent** of the market fee is split between the registrar and referrer according to the referrer_rewards_percentage, which is set up during the new account registration by registrar (please see the parameters for *register_account*). | ||
|
||
# Specifications | ||
Market fee rewards accumulated on special vesting balances. | ||
|
||
## **market_fee_reward_percent** asset option | ||
Percent of market fee that will be paid to buyer's registrar. Set by asset owner. | ||
if **market_fee_reward_percent** = 0 or absent - the old mechanism is used. Market fees are accumulated in the asset and can be claimed. | ||
|
||
## **market_sharing_whitelist** asset option | ||
An optional list of accounts (configurable by the asset owner) could provide increased control over who is eligible to get market rewards. | ||
If whitelist empty or absent - there is no filtering. This means that everyone is in the whitelist by default if it is empty. | ||
|
||
## graphene::chain::database modifications | ||
**pay_market_fees(seller, recv_asset_object, receives_amount)** - Split pay to asset owner fee, registrar fee and referrer fee. If the registrar is not in the **market_sharing_whitelist**, *split_pay* will not happen and the entire fee goes to Asset owner. | ||
**calculate_market_fee(trade_asset, trade_amount)** - Calculate value for previous function. | ||
**fill_limit_order(order, pays, receives, cull_if_small, fill_price, is_maker)** - Append hardfork (HARDFORK_REWARD_TIME) check. Use old or new version of *pay_market_fees()* function. | ||
|
||
## asset_create_evaluator, asset_update_evaluator modifications | ||
Append hardfork (HARDFORK_REWARD_TIME) check. Validate additional asset options. Apply additional asset options (**market_fee_reward_percent**, **market_sharing_whitelist**) | ||
|
||
# Description | ||
|
||
# Summary for Shareholders | ||
The new modification - market fee sharing - will allow to bring in new clients for BitShares by making it financially lucrative for registrars and referrers. This modification is interesting mostly so asset owners and registrars/referrers. | ||
|
||
# Copyright | ||
This document is placed in the public domain. | ||
|
||
# See Also | ||
https://github.com/bitshares/bitshares-core/issues/1268 | ||
|
||
https://github.com/bitshares/bitshares-core/pull/1419 |
Oops, something went wrong.