liquity / ChickenBond

GNU General Public License v3.0
31 stars 5 forks source link

[Parametrization] Chicken In Fee #233

Closed bingen closed 1 year ago

bingen commented 1 year ago

Examples of 1%, 5% and 10% below. It seems like 5% is a good balance, I’ll try to run some more numbers around that value.

EDIT: Added more examples: 2%, 2.5%, 3%, 4%.

It seems that 3% is the first value that gets all “yellow bars filled” in the last chart, i.e., that LPs are working at full capacity. So I would choose this value from the data shown here.

Maybe we can run them again if we change any other param.

bingen commented 1 year ago

1%

Chicken Bonds state
 - Pending LQTY:               684.00
 - Reserve LQTY:               241,402.25
 - Permanent (DEX) LQTY value: 12,978.76
 - bLQTY supply:               163,137.03
 - Backing ratio:              1.48

Fair price:      1.50
Accrual param:   0.002886
Rebond Time:     1,440.00
Chicken in Time: 1,440.00

bTKN AMM pool:

 - LQTY amount: 54,446.94
 - bLQTY amount: 36,143.80
 - Price LQTY/bLQTY: 0.66
 - Price bLQTY/LQTY: 1.45
 - LP tokens total supply 41,450.77
 - LQTY Fees: 1,317.99
 - bLQTY Fees: 1,109.79
 - LQTYbLQTY Fees: 3.03
 - AMM APR: -2.630%

Performance

 - Total permament:               12,978.76
 - Permament percentage:          5.088%

 - Rebonders avg gain: 1.868%
 - LPs avg gain:       4.149%
 - Sellers avg gain:   1.116%
 - Traders avg gain:   6.284%

 - Total LQTY:         1,052,896.37

Screenshot_20220929_233821 Screenshot_20220929_233843 Screenshot_20220929_233907 Screenshot_20220929_233917

bingen commented 1 year ago

5%

Chicken Bonds state
 - Pending LQTY:               24,880.52
 - Reserve LQTY:               337,049.10
 - Permanent (DEX) LQTY value: 17,369.56
 - bLQTY supply:               227,835.68
 - Backing ratio:              1.48

Fair price:      1.60
Accrual param:   0.000074
Rebond Time:     1,440.00
Chicken in Time: 1,440.00

bTKN AMM pool:

 - LQTY amount: 107,549.29
 - bLQTY amount: 69,825.98
 - Price LQTY/bLQTY: 0.64
 - Price bLQTY/LQTY: 1.48
 - LP tokens total supply 80,589.35
 - LQTY Fees: 3,162.43
 - bLQTY Fees: 2,340.74
 - LQTYbLQTY Fees: 4.79
 - AMM APR: 0.707%

Performance

 - Total permament:               17,369.56
 - Permament percentage:          4.579%

 - Rebonders avg gain: 1.997%
 - LPs avg gain:       9.882%
 - Sellers avg gain:   1.527%
 - Traders avg gain:   8.516%

 - Total LQTY:         1,078,417.98

Screenshot_20220929_234117 Screenshot_20220929_234128 Screenshot_20220929_234142 Screenshot_20220929_234154

bingen commented 1 year ago

10%

Chicken Bonds state
 - Pending LQTY:               8,545.75
 - Reserve LQTY:               70,664.21
 - Permanent (DEX) LQTY value: 10,602.88
 - bLQTY supply:               47,513.01
 - Backing ratio:              1.49

Fair price:      1.71
Accrual param:   0.000008
Rebond Time:     1,440.00
Chicken in Time: 1,440.00

bTKN AMM pool:

 - LQTY amount: 19,165.97
 - bLQTY amount: 11,881.36
 - Price LQTY/bLQTY: 0.61
 - Price bLQTY/LQTY: 1.56
 - LP tokens total supply 13,970.66
 - LQTY Fees: 615.14
 - bLQTY Fees: 417.87
 - LQTYbLQTY Fees: 2.41
 - AMM APR: -3.585%

Performance

 - Total permament:               10,602.88
 - Permament percentage:          11.806%

 - Rebonders avg gain: 0.666%
 - LPs avg gain:       1.162%
 - Sellers avg gain:   0.995%
 - Traders avg gain:   1.481%

 - Total LQTY:         1,021,339.44

Screenshot_20220929_234516 Screenshot_20220929_234526 Screenshot_20220929_234537 Screenshot_20220929_234547

bingen commented 1 year ago

2%

Chicken Bonds state
 - Pending LQTY:               0.00
 - Reserve LQTY:               227,441.40
 - Permanent (DEX) LQTY value: 12,476.20
 - bLQTY supply:               153,748.12
 - Backing ratio:              1.48

Fair price:      1.50
Accrual param:   0.001268
Rebond Time:     1,440.00
Chicken in Time: 1,440.00

bTKN AMM pool:

 - LQTY amount: 50,929.43
 - bLQTY amount: 34,266.16
 - Price LQTY/bLQTY: 0.67
 - Price bLQTY/LQTY: 1.43
 - LP tokens total supply 39,397.87
 - LQTY Fees: 1,061.56
 - bLQTY Fees: 878.69
 - LQTYbLQTY Fees: 2.72
 - AMM APR: -2.487%

Performance

 - Total permament:               12,476.20
 - Permament percentage:          5.200%

 - Rebonders avg gain: 1.544%
 - LPs avg gain:       3.767%
 - Sellers avg gain:   1.131%
 - Traders avg gain:   5.725%

 - Total LQTY:         1,052,632.23

Screenshot_20220930_191123 Screenshot_20220930_191141 Screenshot_20220930_191152 Screenshot_20220930_191202

bingen commented 1 year ago

3%

Chicken Bonds state
 - Pending LQTY:               0.00
 - Reserve LQTY:               429,267.25
 - Permanent (DEX) LQTY value: 20,411.07
 - bLQTY supply:               290,246.99
 - Backing ratio:              1.48

Fair price:      1.49
Accrual param:   0.000114
Rebond Time:     1,440.00
Chicken in Time: 1,440.00

bTKN AMM pool:

 - LQTY amount: 124,753.81
 - bLQTY amount: 84,194.78
 - Price LQTY/bLQTY: 0.67
 - Price bLQTY/LQTY: 1.43
 - LP tokens total supply 98,609.50
 - LQTY Fees: 1,081.04
 - bLQTY Fees: 829.34
 - LQTYbLQTY Fees: 5.14
 - AMM APR: -1.877%

Performance

 - Total permament:               20,411.07
 - Permament percentage:          4.539%

 - Rebonders avg gain: 2.980%
 - LPs avg gain:       7.542%
 - Sellers avg gain:   2.018%
 - Traders avg gain:   10.768%

 - Total LQTY:         1,099,420.25

Screenshot_20220930_191601 Screenshot_20220930_191611 Screenshot_20220930_191619 Screenshot_20220930_191627

bingen commented 1 year ago

4%

Suprisingly, it seems results for 4% are worse than both 3% and 5%.

Chicken Bonds state
 - Pending LQTY:               2,128.50
 - Reserve LQTY:               233,164.34
 - Permanent (DEX) LQTY value: 12,290.01
 - bLQTY supply:               157,620.28
 - Backing ratio:              1.48

Fair price:      1.51
Accrual param:   0.000254
Rebond Time:     1,440.00
Chicken in Time: 1,440.00

bTKN AMM pool:

 - LQTY amount: 69,681.22
 - bLQTY amount: 46,307.60
 - Price LQTY/bLQTY: 0.66
 - Price bLQTY/LQTY: 1.45
 - LP tokens total supply 53,165.40
 - LQTY Fees: 1,762.43
 - bLQTY Fees: 1,391.35
 - LQTYbLQTY Fees: 3.56
 - AMM APR: -2.408%

Performance

 - Total permament:               12,290.01
 - Permament percentage:          4.964%

 - Rebonders avg gain: 1.298%
 - LPs avg gain:       5.609%
 - Sellers avg gain:   1.285%
 - Traders avg gain:   4.748%

 - Total LQTY:         1,053,773.11

Screenshot_20220930_191601 Screenshot_20220930_191611 Screenshot_20220930_191619 Screenshot_20220930_191627

bingen commented 1 year ago

2.5%

Chicken Bonds state
 - Pending LQTY:               0.00
 - Reserve LQTY:               213,138.75
 - Permanent (DEX) LQTY value: 12,245.60
 - bLQTY supply:               144,074.61
 - Backing ratio:              1.48

Fair price:      1.50
Accrual param:   0.000414
Rebond Time:     1,440.00
Chicken in Time: 1,440.00

bTKN AMM pool:

 - LQTY amount: 53,783.26
 - bLQTY amount: 36,010.69
 - Price LQTY/bLQTY: 0.66
 - Price bLQTY/LQTY: 1.44
 - LP tokens total supply 41,811.00
 - LQTY Fees: 820.10
 - bLQTY Fees: 663.81
 - LQTYbLQTY Fees: 2.94
 - AMM APR: -2.529%

Performance

 - Total permament:               12,245.60
 - Permament percentage:          5.433%

 - Rebonders avg gain: 1.511%
 - LPs avg gain:       3.879%
 - Sellers avg gain:   1.088%
 - Traders avg gain:   5.953%

 - Total LQTY:         1,051,535.01

Screenshot_20220930_192928 Screenshot_20220930_192936 Screenshot_20220930_192946 Screenshot_20220930_192955