Author Topic: Balance the exchange of feed price  (Read 110 times)

0 Members and 1 Guest are viewing this topic.

Offline binggo

  • Hero Member
  • *****
  • Posts: 872
    • View Profile
Balance the exchange of feed price
« on: April 05, 2019, 01:20:53 am »
Maybe we need add a parameter to balance the exchange of feed price, the wittness exchange of the BTC, USDT, USD, BTS, DOLLOR, CNY were so different.

First: Remove the maximum and minimum effective feed price;

Second: the parameter Z=(The sum of the five effective feed price highter than median of witness feeds - The sum of the five effective feed price lower than median of witness feeds) / (The sum of the five effective feed price highter than median of witness feeds + The sum of the five effective feed price lower than median of witness feeds);

Third: the Final feed price=median of witness feeds*(1+the parameter Z)

how about?

roelandp   0.499   17秒钟前
gdex-witness   0.4986   23秒钟前
witness.still   0.4984   44秒钟前
witness.yao   0.496   1分钟前
zapata42-witness   0.496   2分钟前
in.abit   0.495   4分钟前
fox   0.4937   7分钟前
clockwork   0.4925   7分钟前
xn-delegate   0.4925   7分钟前
delegate-zhaomu   0.4908   11分钟前
crazybit   0.4895   11分钟前
delegate-1.lafona   0.4879   12分钟前
btspp-witness   0.4877   12分钟前
verbaltech2   0.4875   13分钟前
magicwallet.witness   0.4865   15分钟前
openledger-dc   0.4865   16分钟前
bangzi   0.4858   18分钟前
abc123   0.4857   20分钟前

the Final feed price=0.4908*(1+0.006233703)=0.4938
« Last Edit: April 05, 2019, 09:41:22 am by binggo »

Offline clockwork

  • Committee member
  • Sr. Member
  • *
  • Posts: 265
    • View Profile
  • BitShares: clockwork
Re: Balance the exchange of feed price
« Reply #1 on: April 05, 2019, 07:32:39 am »
Maybe we need add a parameter to balance the exchange of feed price, the wittness exchange of the BTC, USDT, USD, BTS, DOLLOR, CNY were so different.

First: Remove the maximum and minimum effective feed price;

Second: the parameter Z=(The sum of the top five maxima effective feed price - The sum of the last five minima effective feed price)/(The sum of the top five maxima effective feed price + The sum of the last five minima effective feed price);

Third: the Final feed price=median of witness feeds*(1+the parameter Z)

how about?

in.abit   0.492   17秒钟前
witness.yao   0.4902   23秒钟前
clockwork   0.4891   44秒钟前
gdex-witness   0.4891   1分钟前
roelandp   0.4891   2分钟前
bhuz   0.4889   4分钟前
btspp-witness   0.4873   7分钟前
delegate-zhaomu   0.4864   7分钟前
zapata42-witness   0.4862   7分钟前
openledger-dc   0.4818   11分钟前
abc123   0.4818   11分钟前
sahkan-bitshares   0.4816   12分钟前
delegate-1.lafona   0.481   12分钟前
fox   0.4808   13分钟前
xeldal   0.4803   15分钟前
magicwallet.witness   0.4797   16分钟前
verbaltech2   0.4794   18分钟前
xn-delegate   0.4787   20分钟前
blckchnd   0.4784   22分钟前

the Final feed price=0.4848*(1+0.009803)=0.4896


2 witness collude to feed 50 : Z becomes ~0.9 -> feed almost doubles

Offline binggo

  • Hero Member
  • *****
  • Posts: 872
    • View Profile
Re: Balance the exchange of feed price
« Reply #2 on: April 05, 2019, 07:54:00 am »
2 witness collude to feed 50 : Z becomes ~0.9 -> feed almost doubles

en, this is a problem, maybe we change the

Z=(The sum of the five effective feed price highter than median of witness feeds - The sum of the five effective feed  price lower than median of witness feeds)/(The sum of the five effective feed price highter than median of witness feeds+The sum of the five effective feed price lower than median of witness feeds);

and give it a limits:max 2%

maybe have some good ways.
« Last Edit: April 05, 2019, 10:18:56 am by binggo »