BitShares Forum

Main => General Discussion => Topic started by: bitcrab on May 09, 2019, 04:59:06 am

Title: Price Feed Review
Post by: bitcrab on May 09, 2019, 04:59:06 am
This thread is to replace https://bitsharestalk.org/index.php?topic=28265.0 (https://bitsharestalk.org/index.php?topic=28265.0)

Feed Price is so important that we need some mechanism to review/audit it.

If anyone in BTS community find that some witnesses do bad in price feeding, please provide proof here to show to all, voters should also get information from thread and decide to support or not support which witnesses.

In bitCNY price feed, I'd like to emphasize one principle,which get strong consensus from China community: the price feed should not conflict with the DEX price plus an bitCNY premium/discount offset.

 
Title: Re: Price Feed Review
Post by: finn-bts on May 09, 2019, 05:10:01 am
bangzi 0.3372  clockwork 0.3399 roelandp 0.3402 fox 0.3453  zapata42-witness 0.3462 delegate-1.lafona0.3475
The price offered by these witnesses is far below the real price
Title: Re: Price Feed Review
Post by: bitcrab on May 09, 2019, 05:11:40 am
CNY price feed review:
time: UTC 9th May 5:01

BTS price calculated from DEX price and bitCNY premium/discount:0.35061*[1+(2.65%+1.91%)/2) = 0.3586

(http://i2.tiimg.com/523014/7aeba1c9cd7d5a49.png)

(http://i2.tiimg.com/523014/e8371df544436509.jpg)(http://i2.tiimg.com/523014/681e8661beb87db5.jpg)(http://i2.tiimg.com/523014/defcd6b2b819ad1f.jpg)

Warn: bangzi, clockwork, roelandp feed a price which is 5.4%+ lower than the reasonable price at the time, please review your feeding scripts.
Title: Re: Price Feed Review
Post by: sschiessl on May 09, 2019, 07:13:01 am
bangzi 0.3372  clockwork 0.3399 roelandp 0.3402 fox 0.3453  zapata42-witness 0.3462 delegate-1.lafona0.3475
The price offered by these witnesses is far below the real price

Please provide a proper overview of market conditions at the time of your posting. Without that, your numbers are meaningless.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 09, 2019, 07:42:40 am
This kind of witness who intentionally provides low feed  price is the devil.
Title: Re: Price Feed Review
Post by: Bangzi on May 09, 2019, 07:45:04 am
Fixed. High volume but huge spread in CoinEgg causing huge different in witnesses' price feed.

Compare trading price/volume at different exchanges:
(http://i.imgur.com/xyZoYwx.jpg)

Orderbook in CoinEgg:
(http://i.imgur.com/vGBR1j4.jpg)
Title: Re: Price Feed Review
Post by: binggo on May 09, 2019, 07:59:48 am

CoinEgg?WTF? nobody use it, all is fake in coinegg.

Did you believe it? what are you thinking?

(https://user-images.githubusercontent.com/34892308/57436821-19baf880-7273-11e9-9d32-9b5e26f8b32a.png)
Title: Re: Price Feed Review
Post by: ljk424 on May 09, 2019, 08:09:59 am
Fixed. High volume but huge spread in CoinEgg causing huge different in witnesses' price feed.

Compare trading price/volume at different exchanges:
(http://i.imgur.com/xyZoYwx.jpg)

Orderbook in CoinEgg:
(http://i.imgur.com/vGBR1j4.jpg)
coinegg?are you  kidding us?
Title: Re: Price Feed Review
Post by: bitcrab on May 09, 2019, 10:49:58 am
Fixed. High volume but huge spread in CoinEgg causing huge different in witnesses' price feed.

Compare trading price/volume at different exchanges:
(http://i.imgur.com/xyZoYwx.jpg)

Orderbook in CoinEgg:
(http://i.imgur.com/vGBR1j4.jpg)

this remind us that it's important to filter out the data which is inconsistent with real market, "the price feed should not conflict with the DEX price plus an bitCNY premium/discount offset" can be a good reference in judging the data from CEXs.
Title: Re: Price Feed Review
Post by: bitcrab on May 09, 2019, 11:38:43 am
Time: UTC 9th May, 19:30

at the time in in huobi BTS price is 0.0507 USDT, USDT OTC price is 6.85 CNY fiat, then 1USDT = 1.004USD, 1BTS = 0.0509USD
this value is consistent to DEX price.

(http://i2.tiimg.com/523014/7835dff5ad5310f7.png)
(http://i2.tiimg.com/523014/51be9cfc12ef691c.png)
(http://i2.tiimg.com/523014/738372aba05e53ac.png)
(http://i2.tiimg.com/523014/2f53b09fcdc209a5.png)

Warning: xeldal feed a price of 0.0496USD, 2.6%+ lower than the reasonable price, please review your price feeding script.
Title: Re: Price Feed Review
Post by: bitcrab on May 09, 2019, 12:18:23 pm
Time: UTC 9th May 12:15

(http://i1.fuimg.com/523014/1041c9c626267413.png)

(http://i1.fuimg.com/523014/d86e0a2957a6c34f.png)

Warning:delegate-1.lafona, sahkan-bitshares, witness-hiblockchain, zapata42-witness, xeldal at the time feed a 2%+ lower price than reasonable.
Title: Re: Price Feed Review
Post by: xeroc on May 09, 2019, 12:32:41 pm
While we are at it, I started working on a python project that is supposed to automatically disapprove (unvote) witnesses that provide inaccurate feeds (relative to price feed) here:

https://github.com/xeroc/witness-monitor

Any development resources to improve that would be welcome.
Title: Re: Price Feed Review
Post by: bitcrab on May 09, 2019, 01:47:50 pm
While we are at it, I started working on a python project that is supposed to automatically disapprove (unvote) witnesses that provide inaccurate feeds (relative to price feed) here:

https://github.com/xeroc/witness-monitor

Any development resources to improve that would be welcome.

that's great.

I also would like to have one tool to provide convenience to voters to estimate witnesses' work.

say, integrate all the price feed data from each witness to a candle chart, with modified DEX price, that will also help a lot.
Title: Re: Price Feed Review
Post by: yamtt on May 09, 2019, 02:43:53 pm
Please tell me @clockwork This is not the first time.
(https://user-images.githubusercontent.com/8553397/57462503-8d78f780-72ab-11e9-9cdc-2b879da5ccac.jpg)
(https://user-images.githubusercontent.com/8553397/57462508-9073e800-72ab-11e9-86f6-a88b71904d9c.jpg)
Title: Re: Price Feed Review
Post by: ioex on May 09, 2019, 04:53:00 pm
Please tell me @clockwork This is not the first time.
(https://user-images.githubusercontent.com/8553397/57462503-8d78f780-72ab-11e9-9cdc-2b879da5ccac.jpg)
(https://user-images.githubusercontent.com/8553397/57462508-9073e800-72ab-11e9-86f6-a88b71904d9c.jpg)
@clockwork this guy is also a Committee,please unvote this bad guy!
Title: Re: Price Feed Review
Post by: clockwork on May 09, 2019, 06:59:41 pm
only got round to accessing my feed script today just now.

My feed was actually the highest just now without changing anything a few hours later...I know we all wish BTS never moved down but guess what...it does....are we gonna have this discussion and people calling hard-working witnesses names EVERY time BTS moves down? Let me know so I can be prepared. It's crypto...it's volatile...it goes up and and it goes down. I don't like it either but it happens.

Still... I disabled the outlier CoinEgg component of the feed as it seems untrustworthy. Feed now 4% above median
Title: Re: Price Feed Review
Post by: alt on May 09, 2019, 09:30:14 pm
I can't imagine what logic can be used to implement disapprove witness automaticly based on the feed price.
it's unresponsoble to vote witness automaticly by proxy, if somebody did this, please let me know.
BTW, did this development pay by worker income?

While we are at it, I started working on a python project that is supposed to automatically disapprove (unvote) witnesses that provide inaccurate feeds (relative to price feed) here:

https://github.com/xeroc/witness-monitor

Any development resources to improve that would be welcome.
Title: Re: Price Feed Review
Post by: sahkan on May 09, 2019, 09:39:32 pm
Time: UTC 9th May 12:15

(http://i1.fuimg.com/523014/1041c9c626267413.png)

(http://i1.fuimg.com/523014/d86e0a2957a6c34f.png)

Warning:delegate-1.lafona, sahkan-bitshares, witness-hiblockchain, zapata42-witness, xeldal at the time feed a 2%+ lower price than reasonable.

Again, our feeds are not every second. It's a price snap shot taken within some specific period 20-40 minutes (2 in your case) so it's an unreasonable statement based on some snapshot in time. price feeds should average out to a true price among all witnesses. Look at the screen shots later on, my price happen to be 2% above on the other side of that price medium is that a warning also?

And when will GDEX start feeding all prices? Should be unvoted  by proxies until it does.
Title: Re: Price Feed Review
Post by: binggo on May 10, 2019, 12:26:43 am

Again, our feeds are not every second. It's a price snap shot taken within some specific period 20-40 minutes (2 in your case)

The feed price should provid within 5 minutes, within 3 minutes more better.

The pirce from specific period 20-40 minutes is a fake price.

BTS is a DEX, not MakerDao.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 10, 2019, 05:10:56 am
Most of the trading volume in the CEX is fake, and the trading volume in the DEX is already more than the actual trading volume in many CEX.The actual price of the DEX  should be taken into account in the feed price.
Title: Re: Price Feed Review
Post by: xeroc on May 10, 2019, 07:40:26 am
Of course you need to have reasonable configuration. But surely, if a single witness publishes a feed that is 5% (or more) away from feed price, the proxy should at least be notified.

Unvoting a witnesses can be justified when the last feed was older than 2 days, or when he doesn't follow consensus when it comes to MSSR or MCR.

I wrote this code in my spare time, as usual ..
I can't imagine what logic can be used to implement disapprove witness automaticly based on the feed price.
it's unresponsoble to vote witness automaticly by proxy, if somebody did this, please let me know.
BTW, did this development pay by worker income?

While we are at it, I started working on a python project that is supposed to automatically disapprove (unvote) witnesses that provide inaccurate feeds (relative to price feed) here:

https://github.com/xeroc/witness-monitor

Any development resources to improve that would be welcome.
Title: Re: Price Feed Review
Post by: bitcrab on May 10, 2019, 07:47:51 am
only got round to accessing my feed script today just now.

My feed was actually the highest just now without changing anything a few hours later...I know we all wish BTS never moved down but guess what...it does....are we gonna have this discussion and people calling hard-working witnesses names EVERY time BTS moves down? Let me know so I can be prepared. It's crypto...it's volatile...it goes up and and it goes down. I don't like it either but it happens.

Still... I disabled the outlier CoinEgg component of the feed as it seems untrustworthy. Feed now 4% above median

I don't think the higher feed price, the better, feed price should reflect the real market price. as feed price will have direct impact some operation, such as margin call, borrowing, force settlement.

it is not easy to judge what is "real market", but at least we can have some principles:

first, it is to get DEX price plus with smartcoin premium/discount as a reference, this is the most important reference.

second, it's not good to get average price of too long period and feed, an average of 5 min should be fine.
Title: Re: Price Feed Review
Post by: bitcrab on May 10, 2019, 07:58:09 am
Again, our feeds are not every second. It's a price snap shot taken within some specific period 20-40 minutes (2 in your case) so it's an unreasonable statement based on some snapshot in time. price feeds should average out to a true price among all witnesses. Look at the screen shots later on, my price happen to be 2% above on the other side of that price medium is that a warning also?
And when will GDEX start feeding all prices? Should be unvoted  by proxies until it does.

feed price should reflect the real market price, 20-40 minutes as price taking period is not acceptable.

"the higher, the better" is not my opinion. but now the main problem of feed price is some witnesses always feed too low price. we need to focus on this.

it's not difficult for me to request my coder to add feed price to all the smartcoins, but I am not sure that will make big sense.

taking bitEUR as one example, it has a supply of 57000 EUR and 24hour volume is about 4000 BTS, there are many users and important community members that come from Europe, but anyone care bitEUR?

if we really want to cultivate bitEUR, we need to consider to change something, such as MSSR, MCR, market fee etc., but seems no one want to do that.

Title: Re: Price Feed Review
Post by: bitProfessor on May 10, 2019, 10:08:54 am
Of course you need to have reasonable configuration. But surely, if a single witness publishes a feed that is 5% (or more) away from feed price, the proxy should at least be notified.

Unvoting a witnesses can be justified when the last feed was older than 2 days, or when he doesn't follow consensus when it comes to MSSR or MCR.

I wrote this code in my spare time, as usual ..
I can't imagine what logic can be used to implement disapprove witness automaticly based on the feed price.
it's unresponsoble to vote witness automaticly by proxy, if somebody did this, please let me know.
BTW, did this development pay by worker income?

While we are at it, I started working on a python project that is supposed to automatically disapprove (unvote) witnesses that provide inaccurate feeds (relative to price feed) here:

https://github.com/xeroc/witness-monitor

Any development resources to improve that would be welcome.
Great!
Title: Re: Price Feed Review
Post by: sahkan on May 10, 2019, 09:49:43 pm
Again, our feeds are not every second. It's a price snap shot taken within some specific period 20-40 minutes (2 in your case) so it's an unreasonable statement based on some snapshot in time. price feeds should average out to a true price among all witnesses. Look at the screen shots later on, my price happen to be 2% above on the other side of that price medium is that a warning also?
And when will GDEX start feeding all prices? Should be unvoted  by proxies until it does.

feed price should reflect the real market price, 20-40 minutes as price taking period is not acceptable.

"the higher, the better" is not my opinion. but now the main problem of feed price is some witnesses always feed too low price. we need to focus on this.

it's not difficult for me to request my coder to add feed price to all the smartcoins, but I am not sure that will make big sense.

taking bitEUR as one example, it has a supply of 57000 EUR and 24hour volume is about 4000 BTS, there are many users and important community members that come from Europe, but anyone care bitEUR?

if we really want to cultivate bitEUR, we need to consider to change something, such as MSSR, MCR, market fee etc., but seems no one want to do that.

People that have bitEUR care, and RUBLE is another rapidly growing market as RUDEX is becoming more popular.
Title: Re: Price Feed Review
Post by: abit on May 10, 2019, 10:18:52 pm
Again, our feeds are not every second. It's a price snap shot taken within some specific period 20-40 minutes (2 in your case) so it's an unreasonable statement based on some snapshot in time. price feeds should average out to a true price among all witnesses. Look at the screen shots later on, my price happen to be 2% above on the other side of that price medium is that a warning also?
And when will GDEX start feeding all prices? Should be unvoted  by proxies until it does.

feed price should reflect the real market price, 20-40 minutes as price taking period is not acceptable.

Things to remember:

1. if price change is within a threshold (E.G. 0.1%, of course need to be small enough), to avoid chain bloat, it's better to skip feeding a new price. So it's possible that no new feed got published for a relatively long period, the reason is too little change in price. IMHO an average interval of 5~20 minute is good enough.

2. there were people crying in the past that "it's easy to dump in CEX to trigger margin calls in DEX". Come on, please put thick enough buy orders with your own money in CEX to prevent the price from dropping.

3. DEX price * premium? How to know how much the premium is? Volumes of the fiat gateways (MagicWallet/bitCNY:QC in ZB/bitCNY:CNC in AEX) are so low recently, which can not justify the premium. Also the gateway price (aka deposit/withdrawal processing fee) can change quickly.

4. volumes on many CEXs are FAKE.

By the way, we have some charts here: http://pricefeed-tracker.dex.trading/
Title: Re: Price Feed Review
Post by: binggo on May 11, 2019, 12:41:19 am
Quote

2. there were people crying in the past that "it's easy to dump in CEX to trigger margin calls in DEX". Come on, please put thick enough buy orders with your own money in CEX to prevent the price from dropping.
I don't think this focus on the topic and a good talking.

You can you up?

Is it not a truth? or the design of feed price is perfect and not allowed people to judge it?

Title: Re: Price Feed Review
Post by: zhouxiaobao on May 11, 2019, 01:18:13 pm

Things to remember:

1. if price change is within a threshold (E.G. 0.1%, of course need to be small enough), to avoid chain bloat, it's better to skip feeding a new price. So it's possible that no new feed got published for a relatively long period, the reason is too little change in price. IMHO an average interval of 5~20 minute is good enough.

2. there were people crying in the past that "it's easy to dump in CEX to trigger margin calls in DEX". Come on, please put thick enough buy orders with your own money in CEX to prevent the price from dropping.

3. DEX price * premium? How to know how much the premium is? Volumes of the fiat gateways (MagicWallet/bitCNY:QC in ZB/bitCNY:CNC in AEX) are so low recently, which can not justify the premium. Also the gateway price (aka deposit/withdrawal processing fee) can change quickly.

4. volumes on many CEXs are FAKE.

By the way, we have some charts here: http://pricefeed-tracker.dex.trading/

     
     1、 There is a gap between the prices of BTS in various exchanges. Why is there no arbitrage?Because there are all kinds of handling fees.However, you witnesses did not consider handling fees for all kinds of conversion of BTS prices.
      BTC--->BTS---->USDT----->CNY......   
      These price conversions do not take into account handling fees, so the feed price is always lower than the actual price.
      The highest price of BTS in major exchanges (including the DEX) is closest to the actual price.

      2、 Why can't the DEX price be taken into account in the feeding price? The volume of DEX has already exceeded tens of millions, surpassing many CEXs.
     Is it because the price is difficult to determine?
     How much does it cost for us to buy a BTS in the DEX? This is very clear,DEX price *Recharge rate.
     This is the real price of BTS, at least the feed price cannot deviate too much from this price.
     Why has MSSR dropped to 102%, and BITCNY premium is still large? The important reason is that the feed price is lower than the actual price.
Title: Re: Price Feed Review
Post by: abit on May 11, 2019, 01:34:59 pm
Quote

2. there were people crying in the past that "it's easy to dump in CEX to trigger margin calls in DEX". Come on, please put thick enough buy orders with your own money in CEX to prevent the price from dropping.
I don't think this focus on the topic and a good talking.

You can you up?

Is it not a truth? or the design of feed price is perfect and not allowed people to judge it?
People complained that witnesses updated price feed too fast when there is a dump happened on CEX. Now same people complain that witnesses updated price feed too slow when there is a pump? WTF?

Both longs and shorts are traders, we should treat them equally. That said, feed fair price, not too high, not too low. Don't change interval in downtrend nor in uptrend.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 11, 2019, 02:06:02 pm

if DEX's price*premium>1.05*CEX's price 
   feed price = 1.05*CEX'price
otherwise                     
   feed price = max(DEX's price*premium,CEX's price  )

premium=(Recharge rate+Withdrawal rate)/2
 
Title: Re: Price Feed Review
Post by: yamtt on May 11, 2019, 03:07:22 pm
bitEUR, bitUSD, MSSR, MCR, should be adjusted at the same time, we have been well reflected in bitcny

Title: Re: Price Feed Review
Post by: BTSMoon on May 12, 2019, 12:38:02 am
(https://i.ibb.co/1GhNTFK/BitUSD.jpg) (https://ibb.co/ZztrxqK)
(https://i.ibb.co/TKSys0W/BtCNY.jpg) (https://ibb.co/Jx4Z9p3)
Title: Re: Price Feed Review
Post by: George_Bitspark on May 12, 2019, 07:20:22 am
Entirely disagree about trying to remove potential for discounts or premiums. Thats just the market. If the feed price moves and orders are still stuck at sub-optimal prices then there is an opportunity for takers to make money, thats intended. Regarding witnesses not providing accurate feeds ontime, thats also up to the market, if people dont like it they should vote out those witnesses.

I would see value in an open source script that takes as many datapoints as possible into consideration and publishes a feed with a comparison +/- % to others witnesses, perhaps post it on a webpage so voters can make the decision themselves to vote/unvote, apart from that nothing much else should be done.
Title: Re: Price Feed Review
Post by: binggo on May 12, 2019, 08:12:31 am
Quote
People complained that witnesses updated price feed too fast when there is a dump happened on CEX. Now same people complain that witnesses updated price feed too slow when there is a pump? WTF?

Both longs and shorts are traders, we should treat them equally. That said, feed fair price, not too high, not too low. Don't change interval in downtrend nor in uptrend.

People have two face, but if we have a reasonable and clear rules in the feed price, and remove the human factor from the witness, give the reasonable weight and parameter of CEX and DEX price, so some complaint must give a strong case.

The interval of feed price must have a rule.

Feed fair price, not too high, not too low, this is right, but some witnees was very hard to give the fair price, or too high, or too low.
Title: Re: Price Feed Review
Post by: bitcrab on May 12, 2019, 12:06:49 pm
Quote

2. there were people crying in the past that "it's easy to dump in CEX to trigger margin calls in DEX". Come on, please put thick enough buy orders with your own money in CEX to prevent the price from dropping.
I don't think this focus on the topic and a good talking.

You can you up?

Is it not a truth? or the design of feed price is perfect and not allowed people to judge it?
People complained that witnesses updated price feed too fast when there is a dump happened on CEX. Now same people complain that witnesses updated price feed too slow when there is a pump? WTF?

Both longs and shorts are traders, we should treat them equally. That said, feed fair price, not too high, not too low. Don't change interval in downtrend nor in uptrend.

it's easy to say political correct words like "we should treat shorts and longs equally", but I don't think these words get the key points of this ecosystem.

in BTS, shorts and longs(here longs means BTS long, means the debt position owners) are naturally not equal.

longs has an leverage tool to use, and at the same time bear the risk of margin call, and at the same time longs create smartcoin supply which is base of this ecosystem.

shorts does not.

so the rules should firstly be fair to longs, prohibit longs from being unfairly exploited, this is relevant to what we will build - a financial system with amazing stable coins or a gambling house.

that's why I emphasize the principle "price feed should not conflict with the modified DEX price(DEX price plus premium/discount)".

and I feel this statement is self-explanatory: "if a BTS/smartcoin pair in DEX has good enough market depth and volume, it should play the most important role in price feed determination."

because any CEX may have fake volume, naked shorts, etc., but DEX does not.

and because DEX is our home field.

this is not ignoring price in CEX, actually any big price change in CEX can be transmitted to DEX quickly, if price change in one CEX is not transmitted to DEX, it can be ignored.
 
it's reluctant to ask BTSer to put money to CEX to sustain the price, DEX should be the front that reflect the final short-long battle result.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 12, 2019, 02:30:25 pm
if DEX's price*(1+premium)>1.05*CEX's price 
   feed price = 1.05*CEX'price
otherwise                     
   feed price = max(DEX's price*(1+premium),CEX's price  )

premium=(Recharge rate-Withdrawal rate)/2
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 13, 2019, 07:35:36 am
if DEX's price*(1+premium)>1.05*CEX's price 
   feed price = 1.05*CEX'price
otherwise                     
   feed price = max(DEX's price*(1+premium),CEX's price  )

premium=(Recharge rate-Withdrawal rate)/2

      Please witness try to provide high feed prices within a reasonable range.
      Now, if you buy a BTS in the DEX, the money that investors have to pay is the DEX price * recharge rate.This price is the actual price of BTS, why can't it be used as feed price?
      Of course, in order to prevent being used by whales, the price should not deviate too much from the CEX price (e.g. 5%).
     
Title: Re: Price Feed Review
Post by: pc on May 13, 2019, 12:08:14 pm
Please explain what "Recharge rate" and "withdrawal rate" is.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 13, 2019, 12:42:32 pm
Please explain what "Recharge rate" and "withdrawal rate" is.

In China, if you buy BTS on the DEX, you mainly use a software ,name Magicwallet. In the software, there are acceptors who is responsible for buying and selling bitcny. first, you buy bitcny from the acceptors,and then you buy BTS from the DEX. Recharge rate is the handling fee for investors to purchase bitcny, and withdrawal rate is the handling fee for investors to sell bitcny. These two handling fees reflect bitcny's premium.
The higher the bitcny premium, the higher the recharge rate, and the withdrawal rate is even negative.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 13, 2019, 01:08:02 pm
(1+ recharge rate)is the legal tender price for investors to buy bitcny in china.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 13, 2019, 01:21:54 pm
      (1+ recharge rate)is the legal tender price for investors to buy bitcny in china.
      Thousands of our Chinese investors in the DEX(basically, the vast majority of DEX's traders) bought bitcny in this way, thus entering the DEX. DEX's price * recharge rate should be the most accurate price of BTS.
Title: Re: Price Feed Review
Post by: pc on May 14, 2019, 07:19:23 am
Thanks.

You're still ignoring the fact that there is a huge volume of poorly collateralized shorts out there, which means while BTS goes down the DEX price is permanently driven towards MSSR because of constant margin calling. Deriving the feed price from that skewed DEX price is what I'm primarily worried about, because it creates a dangerous feedback loop.

Also, I suspect that Chinese investors mostly do not invest in BTS, but they invest in BTC or other cryptos and use bitCNY/BTS merely as a vehicle. (I may be wrong of course.)

If large amounts of CNY enter the system that way, they will accept a worse-than-fair (less BTS per CNY and higher recharge rate) price, whereas when investors want to exit into CNY they will pay more BTS per CNY and accept a higher withdraw rate. Either way, the MagicWallet price will be skewed relative to the feed price. In a healthy market environment these differences would be resolved through arbitrage. Arbitrage is difficult here because of the general difficulty of investing CNY into cryptos. This only means that we must accept bigger differences, because with higher potential profits arbitrage will kick in at some point.

It is still debatable if the MagicWallet price reflects the fair price better than an external CEX. I see your logic there. At the very least though, the effect of margin calls on the DEX price must be taken into account.
Title: Re: Price Feed Review
Post by: bitcrab on May 14, 2019, 12:18:24 pm
Thanks.

You're still ignoring the fact that there is a huge volume of poorly collateralized shorts out there, which means while BTS goes down the DEX price is permanently driven towards MSSR because of constant margin calling. Deriving the feed price from that skewed DEX price is what I'm primarily worried about, because it creates a dangerous feedback loop.

Also, I suspect that Chinese investors mostly do not invest in BTS, but they invest in BTC or other cryptos and use bitCNY/BTS merely as a vehicle. (I may be wrong of course.)

If large amounts of CNY enter the system that way, they will accept a worse-than-fair (less BTS per CNY and higher recharge rate) price, whereas when investors want to exit into CNY they will pay more BTS per CNY and accept a higher withdraw rate. Either way, the MagicWallet price will be skewed relative to the feed price. In a healthy market environment these differences would be resolved through arbitrage. Arbitrage is difficult here because of the general difficulty of investing CNY into cryptos. This only means that we must accept bigger differences, because with higher potential profits arbitrage will kick in at some point.

It is still debatable if the MagicWallet price reflects the fair price better than an external CEX. I see your logic there. At the very least though, the effect of margin calls on the DEX price must be taken into account.

what does CNY feed price mean? it means at which price you can do conversion between BTS and fiat CNY.

DEX price and bitCNY deposit/withdrawl fee in magic wallet is a good source to get such a price.

surely there are other ways, for example, the BTS/USDT price and USDT/CNY OTC price from huobi is also a good source to get such a price.

there may be price difference, but we should respect DEX enough as this is our home field, it is not acceptable that the feed price is much lower than the modified DEX price(2% or more), if you can really get BTS much cheaper than modified DEX price, please buy some and sell in DEX.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 14, 2019, 01:02:47 pm
       Funny thing is, at the current feeding price, there is basically no place to buy such a cheap BTS. Witnesses actually think that the feeding price is no problem.
       For example, I bought 500,000 BTS in DEX last night. Each BTS cost me 0.404 RMB (2.1% of recharge rate is included). But the feed price is 0.395. Please tell me where the 0.395 BTS is available. Or which witness is willing to sell it to me at this price?
Title: Re: Price Feed Review
Post by: ioex on May 14, 2019, 01:06:17 pm
       Funny thing is, at the current feeding price, there is basically no place to buy such a cheap BTS. Witnesses actually think that the feeding price is no problem.
       For example, I bought 500,000 BTS in DEX last night. Each BTS cost me 0.404 RMB (2.1% of recharge rate is included). But the feed price is 0.395. Please tell me where the 0.395 BTS is available. Or which witness is willing to sell it to me at this price?

no ,you misunderstand. The feed price is the witness want to buy at the price. You should sell to them.
Title: Re: Price Feed Review
Post by: clockwork on May 14, 2019, 03:02:39 pm
       Funny thing is, at the current feeding price, there is basically no place to buy such a cheap BTS. Witnesses actually think that the feeding price is no problem.
       For example, I bought 500,000 BTS in DEX last night. Each BTS cost me 0.404 RMB (2.1% of recharge rate is included). But the feed price is 0.395. Please tell me where the 0.395 BTS is available. Or which witness is willing to sell it to me at this price?

I can sell you BTS for 6.2 cents like gdex-witness feeds if you want :)
Title: Re: Price Feed Review
Post by: bitcrab on May 14, 2019, 03:18:25 pm
Time: UTC 14th May 15:08

BTS price in CNY should be about 0.4124*1.009 = 0.416CNY

(http://i1.fuimg.com/523014/ba1deadfb238f219.png)



(http://i1.fuimg.com/523014/4f8ea9f701decb26.png)(http://i1.fuimg.com/523014/3690e6877fbc7760.png)(http://i1.fuimg.com/523014/e2a2cb9f43966edf.png)

Warning: verbaltech2, fox, zapata42-witness, blckchnd, delegate-1.lafona feed a price 2.3%+ lower than reasonable level.
Title: Re: Price Feed Review
Post by: bitcrab on May 14, 2019, 03:40:29 pm
I can sell you BTS for 6.2 cents like gdex-witness feeds if you want :)

sorry, gdex-witness will check and update USD price feeding, however that's not the excuse for you to not feed well. :)
Title: Re: Price Feed Review
Post by: clockwork on May 14, 2019, 03:50:56 pm
I can sell you BTS for 6.2 cents like gdex-witness feeds if you want :)

sorry, gdex-witness will check and update USD price feeding, however that's not the excuse for you to not feed well. :)


Was only joking to point out double standards. Already explained what the issue was on a different thread due to fake Vols combined with zb API being down.

Feed looks stable now... Will adjust as needed
Title: Re: Price Feed Review
Post by: bitProfessor on May 20, 2019, 04:17:29 am
Cn-vote has deleted the following witnesses:
delegate-1.lafona
openledger-dc
verbaltech2
clockwork
blckchnd
Title: Re: Price Feed Review
Post by: bitProfessor on May 20, 2019, 06:23:57 am
Cn-vote has deleted the following witnesses:
delegate-1.lafona
openledger-dc
verbaltech2
clockwork
blckchnd
Reason:
1.disrespect for Community Consensus.
2. Feed price is not timely(More than 24 hours)
3. Deviation from market price。
Evidence:
https://github.com/Yamtt/bitcny/issues/1 (https://github.com/Yamtt/bitcny/issues/1)
Title: Re: Price Feed Review
Post by: binggo on May 22, 2019, 12:37:37 pm
zbbtsbp   中比的态度哪?竞选见证人的时候最基本的许诺在哪?0.4404?
verbaltech2
xeldal

Title: Re: Price Feed Review
Post by: bitcrab on May 22, 2019, 02:34:08 pm
in my view, generally speaking, below are some principles to judge whether a witness feed price well enough.

1. feed price should reflect the price at which the conversion can be done between BTS and the pegged fiat.

2. feed price should be updated frequently enough to reflect the real market price.

3. for smartcoin with enough market depth in trading pair with BTS in DEX, such as bitCNY, feed price should not conflict with the modified DEX price, which means the DEX price plus the smartcoin premium/discount.
Title: Re: Price Feed Review
Post by: Thul3 on May 22, 2019, 04:12:23 pm
in my view, generally speaking, below are some principles to judge whether a witness feed price well enough.

1. feed price should reflect the price at which the conversion can be done between BTS and the pegged fiat.

2. feed price should be updated frequently enough to reflect the real market price.

3. for smartcoin with enough market depth in trading pair with BTS in DEX, such as bitCNY, feed price should not conflict with the modified DEX price, which means the DEX price plus the smartcoin premium/discount.

So we would get margin calls on DEX (with 1.01) which would be more expensiv than BTS at regular price on CEX ?
Title: Re: Price Feed Review
Post by: bench on May 22, 2019, 04:57:00 pm
Other stable coins like bitEUR or bitRuble should also get a MCR of 1.6 and MSSR of 1.02.
@bitcrab: Can you initiate a vote for this parameter to other FIAT stable coins?
Title: Re: Price Feed Review
Post by: binggo on May 22, 2019, 05:57:12 pm
Other stable coins like bitEUR or bitRuble should also get a MCR of 1.6 and MSSR of 1.02.
@bitcrab: Can you initiate a vote for this parameter to other FIAT stable coins?

I think the user who use the bitEUR or bitRuble should think something more, because of these bitasset didn't have the Fiat gateways in DEX and didn't have the Fiat Trading pair in CEX.

How the user can detemine the quality of feed price? which price is the real fiat pirce?

But the funny things is the user of bitUSD seemed  these didn't need to care about.
Title: Re: Price Feed Review
Post by: bench on May 22, 2019, 06:06:01 pm
@binggo: For bitEUR price feed we can take a bitUSD price feed + EUR/USD exchange rate.
Title: Re: Price Feed Review
Post by: binggo on May 22, 2019, 08:49:23 pm
@binggo: For bitEUR price feed we can take a bitUSD price feed + EUR/USD exchange rate.

This is wrong.

EUR-USDT-BTC-BTS-BTC-USDT-EUR, there have some trading loss and charge, you take 1 EUR in maybe only 0.96 EUR out, the 0.04 EUR must count in the feed price.

If you want EUR chang to USD, you need to count the exchange loss and the charge.

It's not simple, and the feed price publisher must know these, if the feed price publisher didn't know these, please kill the stablecoin. 
Title: Re: Price Feed Review
Post by: bitcrab on May 23, 2019, 09:01:05 am
So we would get margin calls on DEX (with 1.01) which would be more expensiv than BTS at regular price on CEX ?

yes, maybe, when all the price is market price and bitCNY has a 1%+ premium.
Title: Re: Price Feed Review
Post by: finn-bts on May 23, 2019, 03:39:21 pm
The prices offered by zbbtsbp were not updated for several hours and had deviated significantly from the actual price
Title: Re: Price Feed Review
Post by: finn-bts on May 23, 2019, 03:41:30 pm
I can sell you BTS for 6.2 cents like gdex-witness feeds if you want :)

sorry, gdex-witness will check and update USD price feeding, however that's not the excuse for you to not feed well. :)


Was only joking to point out double standards. Already explained what the issue was on a different thread due to fake Vols combined with zb API being down.

Feed looks stable now... Will adjust as needed
I agree. We need an accurate price, not too high or too low.
Title: Re: Price Feed Review
Post by: zhouxiaobao on May 24, 2019, 02:06:08 am
in my view, generally speaking, below are some principles to judge whether a witness feed price well enough.

1. feed price should reflect the price at which the conversion can be done between BTS and the pegged fiat.

2. feed price should be updated frequently enough to reflect the real market price.

3. for smartcoin with enough market depth in trading pair with BTS in DEX, such as bitCNY, feed price should not conflict with the modified DEX price, which means the DEX price plus the smartcoin premium/discount.

Exactly. I hope all the witnesses can reach the consensus.
Title: Re: Price Feed Review
Post by: finn-bts on May 25, 2019, 12:14:50 am
Complain XMAN, as a witness he has not updated the price for more than 22 hours.
Title: Re: Price Feed Review
Post by: binggo on May 25, 2019, 05:04:14 am
I don't want say any "shit" words to these feed price, but if you can't provide a "fair" and "timely“ feed price and feel very hard, can you leave quietly and let other do this.

Can you explain where and how get these price?

(https://user-images.githubusercontent.com/34892308/58364861-4adf2e00-7eed-11e9-9892-67e87361b157.png)
Title: Re: Price Feed Review
Post by: abit on May 25, 2019, 07:39:32 pm
Complain XMAN, as a witness he has not updated the price for more than 22 hours.
Actually xman was voted out of top 21 so unable to update price feed.
Title: Re: Price Feed Review
Post by: bitcrab on May 26, 2019, 03:01:26 pm
at the time bitCNY still have premium.

Warning: zbbtsbp, verbaltech2, xeldal, please.

(http://i1.fuimg.com/523014/23d1ca36342c49c0.png)

(http://i1.fuimg.com/523014/a4d1d0d79d890527.png)
Title: Re: Price Feed Review
Post by: lafona on May 26, 2019, 04:24:52 pm
I have updated my price feed and it should now be within the range of feeds produced within the last 15 minutes.

My Feed:
|  CNY   |    BTS     |  0.452646

Others:
verbaltech2                 0.4479   0.5599   1.6   1.02   1 minute ago
gdex-witness              0.4535   0.5981   1.6   1.01   2 minutes ago
roelandp                     0.4512   0.5414   1.6   1.02   3 minutes ago
fox                              0.4515   0.5418   1.6   1.02   5 minutes ago
btspp-witness             0.4523   0.5798   1.6   1.01   6 minutes ago
clockwork                   0.4540   0.5448   1.6   1.02   8 minutes ago
openledger-dc            0.4531   0.5696   1.6   1.02   10 minutes ago
in.abit                         0.4510    0.5782   1.6   1.02   10 minutes ago
magicwallet.witness   0.4525   0.5430   1.6   1.01   12 minutes ago
Title: Re: Price Feed Review
Post by: binggo on May 27, 2019, 03:56:48 pm
Please reject the ZB.com from the the feed price,as ZB.com withdraw delay about 30 minute.
Title: Re: Price Feed Review
Post by: binggo on May 28, 2019, 12:13:14 pm
If the feed price publisher still use the "BTS-BTC-USD-CNY" as the feed price directly, I think you are a bad feed pirce publisher.

(https://user-images.githubusercontent.com/34892308/58476852-98c19380-8184-11e9-9ff9-8e9afcc030fa.png)
Title: Re: Price Feed Review
Post by: binggo on May 29, 2019, 08:37:54 am
我在想我们这种论坛帖子监督能有多大的效果,见证人换来换去都是这些人,投下去又上来,还是原来的那套喂价方式,再投下去再投上来,能不能投下去,半个月不能再投上来?!

而且有些大投票权重形如僵尸,都想从bitcny区吸血,能不能吸的优雅一些?!

(https://user-images.githubusercontent.com/34892308/58541832-f01c3e00-822e-11e9-94b7-af40143dfab9.png)
Title: Re: Price Feed Review
Post by: alt on May 30, 2019, 10:10:38 pm
USD/BTS price is 0.0658, while CNY/BTS price is 0.464,
means bitCNY/bitUSD rate is 7.05, while the fiat rate of CNY/USD is 6.9

I will unvote those witness who give feed price under 0.0658 if can't get a reasonable explain.
(http://wx2.sinaimg.cn/large/5d9c0487ly1g3k2us99ndj20u01o0tlj.jpg) (http://wx2.sinaimg.cn/large/5d9c0487ly1g3k2uqhb11j20u01o0wrd.jpg)
Title: Re: Price Feed Review
Post by: binggo on May 30, 2019, 10:14:38 pm
shame!shame!shame!

(https://user-images.githubusercontent.com/34892308/58669120-bc93fd80-836d-11e9-9492-9c7028392a1f.png)
(https://user-images.githubusercontent.com/34892308/58669127-c289de80-836d-11e9-94b4-774ff3101d83.png)(https://user-images.githubusercontent.com/34892308/58669142-c6b5fc00-836d-11e9-8c3b-bcb2c6574177.png)
Title: Re: Price Feed Review
Post by: bitcrab on May 30, 2019, 10:53:57 pm
(http://i2.tiimg.com/523014/076e5ec8de3ff260.png)

(http://i2.tiimg.com/523014/d7803f8e1586b4de.png)


Warning:fox,delegate-zhaomu, xeldal, bangzi, zbbtsbp


unvoted: verbaltech2
Title: Re: Price Feed Review
Post by: bitcrab on May 30, 2019, 11:08:33 pm
USD/BTS price is 0.0658, while CNY/BTS price is 0.464,
means bitCNY/bitUSD rate is 7.05, while the fiat rate of CNY/USD is 6.9

I will unvote those witness who give feed price under 0.0658 if can't get a reasonable explain.

possible for you to pick up the witness job again?
I am so tired in complaining what the current witnesses have done.
Title: Re: Price Feed Review
Post by: Thom on May 30, 2019, 11:45:29 pm
I am so tired in complaining what the current witnesses have done.

I am so tired of your complaints as well.

Why not complain that gdex witness only provides 2 feeds? Why complain when witness doesn't meet >your< standards, when no standards are set? My feed as of right now is 2.1% off for CNY.

With no standard of measurement, you're complaints are meaningless. Besides, I am only 1 out of 21 witnesses, don't you understand how the price is set? 2.1% skews the median how much?

Your complaint is baseless. Better, you target witness that don't do the rest of their duties well, rather than complain about the few who don't always provide the feed the way you want it.
Title: Re: Price Feed Review
Post by: alt on May 30, 2019, 11:54:16 pm
you just need to explain how your price is reasonable.
do you think the price feed is important for smart asset?
did you do the research of how to provide a reasoanble price?
you witnesses got a good paid from blockchain, you need to do some serious research in return.
you witnesses are the guys who do a bad job, and now you said you are tired to hear the complaining.

I am so tired in complaining what the current witnesses have done.

I am so tired of your complaints as well.

Why not complain that gdex witness only provides 2 feeds? Why complain when witness doesn't meet >your< standards, when no standards are set? My feed as of right now is 2.1% off for CNY.

With no standard of measurement, you're complaints are meaningless. Besides, I am only 1 out of 21 witnesses, don't you understand how the price is set? 2.1% skews the median how much?

Your complaint is baseless. Better, you target witness that don't do the rest of their duties well, rather than complain about the few who don't always provide the feed the way you want it.
Title: Re: Price Feed Review
Post by: BTSMoon on May 31, 2019, 01:21:29 am
西方程序员的月薪大约是$7000美金,比特股满足不了他们啊,不如把喂价的事情交回给社区,我们只需要猴哥,Binggo 和 GDEX 三个就行了。
Title: Re: Price Feed Review
Post by: bitcrab on May 31, 2019, 03:25:54 am
I am so tired in complaining what the current witnesses have done.

I am so tired of your complaints as well.

Why not complain that gdex witness only provides 2 feeds? Why complain when witness doesn't meet >your< standards, when no standards are set? My feed as of right now is 2.1% off for CNY.

With no standard of measurement, you're complaints are meaningless. Besides, I am only 1 out of 21 witnesses, don't you understand how the price is set? 2.1% skews the median how much?

Your complaint is baseless. Better, you target witness that don't do the rest of their duties well, rather than complain about the few who don't always provide the feed the way you want it.

you can complain anyone, but that is not the excuse for you to do bad job.

you can check here to get a reference of the standard. https://bitsharestalk.org/index.php?topic=28383.msg330690#msg330690 (https://bitsharestalk.org/index.php?topic=28383.msg330690#msg330690)

feed price should not conflict with the modified DEX price, however at the above snapshot, you feed a price which is 5%+ less than the modified DEX price.

@alt I don't think you need to wait more time, please unvote this witness immediatelly, I don 't think he can do a better job based on such an attitude.
Title: Re: Price Feed Review
Post by: binggo on May 31, 2019, 04:55:04 am

(https://user-images.githubusercontent.com/34892308/58682278-71481200-83a2-11e9-8fd6-83145c1581a5.png)
Title: Re: Price Feed Review
Post by: binggo on May 31, 2019, 06:46:32 am
zhaomu, not only once!

(https://user-images.githubusercontent.com/34892308/58686904-b70cd680-83b2-11e9-92a5-c3f9f5b2684a.png)
Title: Re: Price Feed Review
Post by: bitProfessor on May 31, 2019, 08:58:44 am
西方程序员的月薪大约是$7000美金,比特股满足不了他们啊,不如把喂价的事情交回给社区,我们只需要猴哥,Binggo 和 GDEX 三个就行了。
晕死,你还没搞明白什么是见证人吧,还三个人包场,我真是醉了
Title: Re: Price Feed Review
Post by: ioex on May 31, 2019, 02:24:30 pm
看到这么多不珍惜机会的活跃见证人,提供严重偏离的喂价,真的痛心。你们知道standby 见证人多希望有个机会吗?
Title: Re: Price Feed Review
Post by: BTSMoon on May 31, 2019, 06:23:53 pm
西方程序员的月薪大约是$7000美金,比特股满足不了他们啊,不如把喂价的事情交回给社区,我们只需要猴哥,Binggo 和 GDEX 三个就行了。
晕死,你还没搞明白什么是见证人吧,还三个人包场,我真是醉了

我可能还没弄明白什么是见证人,但是Abit大神应该很清楚吧:
https://bitsharestalk.org/index.php?topic=28418.msg330453#msg330453

我坚决的认为与其继续让无心的见证人搞喂价,不如让社区的有心人搞好喂价。让100个无心人喂价,不如让3个有心人喂价。
Title: Re: Price Feed Review
Post by: alt on June 01, 2019, 08:20:38 am
didn't get any response.
unvoted for verbatech2 and witness.yao.
will wait others response for another 24 hours.

USD/BTS price is 0.0658, while CNY/BTS price is 0.464,
means bitCNY/bitUSD rate is 7.05, while the fiat rate of CNY/USD is 6.9

I will unvote those witness who give feed price under 0.0658 if can't get a reasonable explain.
(http://wx2.sinaimg.cn/large/5d9c0487ly1g3k2us99ndj20u01o0tlj.jpg) (http://wx2.sinaimg.cn/large/5d9c0487ly1g3k2uqhb11j20u01o0wrd.jpg)
Title: Re: Price Feed Review
Post by: abit on June 01, 2019, 11:23:00 am
@alt

为什么CNY:USD交易价格在7以上,而不是“官方”规定的6.9?因为“官方”汇率是被操纵的。而加密货币交易市场是自由的。

我的上次喂价:
Kraken BTC 报价 8550 美金
Bittrex BTC 报价 8549 美金
ZB BTC  报价 60241 RMB
AEX BTC 报价 60284 RMB

综合结果:
人民币:美金 约等于 7.05

最新报价截图
(https://user-images.githubusercontent.com/9946777/58747882-758f3080-8471-11e9-9aea-d7d003ab363c.png)

60300, 60202 / 8582, 8570 ~= 7.015, 7.036
Title: Re: Price Feed Review
Post by: zhouxiaobao on June 01, 2019, 12:20:04 pm
@alt

为什么CNY:USD交易价格在7以上,而不是“官方”规定的6.9?因为“官方”汇率是被操纵的。而加密货币交易市场是自由的。

我的上次喂价:
Kraken BTC 报价 8550 美金
Bittrex BTC 报价 8549 美金
ZB BTC  报价 60241 RMB
AEX BTC 报价 60284 RMB

综合结果:
人民币:美金 约等于 7.05

最新报价截图
(https://user-images.githubusercontent.com/9946777/58747882-758f3080-8471-11e9-9aea-d7d003ab363c.png)

60300, 60202 / 8582, 8570 ~= 7.015, 7.036

       那既然是自由汇率那为什么脱离不了官方汇率很多呢?所以这是中外比特币的价格差,是由搬砖成本决定的,不是汇率差。
      喂价应当反应的是bts与法币之间转换的价格,如果中间加上btc这一层,要把转换成本算上。
     为啥btc/bts交易对的价格总是比法币交易对的价格低?环节越多搬砖成本越高啊。所以在主要交易所和内盘当中,最高价格最接近实际法币转换价格。bitcny和bitusd都应当用最高价,为防止价格操纵,可以加一个偏离顶,比如若最高价大于平均价超过5%,则不再上调喂价。
Title: Re: Price Feed Review
Post by: alt on June 01, 2019, 01:11:36 pm
看了下这个平台就是FIAT USD,USDT和美元汇率就是1.0对吗?
可以认为人民币通过BTC交易换美元导致美元溢价了2.2个点,这样是可以解释内盘美元比人民币溢价2.2个点

但是我当时是按美元计价得到内盘美元喂价低了超过2个点,人民币喂价差不多。
你看看bingo在我后面几分钟的截图,人民币计价 0.4728,按1美元7.05算是0.067美元。
有没有可能你们的脚本汇率转换逻辑有问题,把0.067美元的BTS按 6.9 转成人民币喂价 0.4627人民币,再按 7.05的汇率算成 0.0656美元了?
所以当时的实际情况是人民币和美元喂价都低了超过2个点。

@alt

为什么CNY:USD交易价格在7以上,而不是“官方”规定的6.9?因为“官方”汇率是被操纵的。而加密货币交易市场是自由的。

我的上次喂价:
Kraken BTC 报价 8550 美金
Bittrex BTC 报价 8549 美金
ZB BTC  报价 60241 RMB
AEX BTC 报价 60284 RMB

综合结果:
人民币:美金 约等于 7.05

最新报价截图
(https://user-images.githubusercontent.com/9946777/58747882-758f3080-8471-11e9-9aea-d7d003ab363c.png)

60300, 60202 / 8582, 8570 ~= 7.015, 7.036
Title: Re: Price Feed Review
Post by: Xeldal on June 01, 2019, 02:13:11 pm
I've adjusted my feed pricing a couple days ago and have been monitoring the results.  I hope you find it more in line with expectations. 

I'd like to mention that depending on when you take a snapshot of feed prices it might not be an accurate representation of how well any witness it tracking price, with regard to how often a feed script is checking for price changes.  For example if taken just after a significant price movement it might appear that some prices are off from where they should be.  Where as, if given more time (at least 1 hour), their feed price script will make the appropriate adjustment.   We are looking at many different markets also, so picking a time where all of these have been relatively stable for a period of time would be important for having a snapshot be an accurate representation.

I'm not saying this applied to my feeds abnormal prices, just wanted to mention it, as it might for some look worse than it actually is.

I'm currently only checking once an hour for price changes due to certain free API limit restrictions.  As far as I understand it, this is still adequate.  Please inform me if this is no longer considered acceptable.

After looking at my feeds, I found it was in fact a bit off and needed attention.  I'll continue to keep a closer eye on this.  Thanks everyone for paying attention.
Title: Re: Price Feed Review
Post by: binggo on June 01, 2019, 11:53:24 pm
其实多数情况下,人民币与美元喂价基本都会低1%左右,部分情况下会低到2个点,甚至超过2个点,很少一部分情况会略微低0.5%,汇率换算及转换损耗需要及时注意,而且外盘BTC及USDT交易对的深度明显都不足。
从另一个方面来看的话,bitCNY现在MSSR=1.01,如果喂价偏低,会使MSSR变相偏大,进而影响内盘价格,最后再影响手续费。

看了下这个平台就是FIAT USD,USDT和美元汇率就是1.0对吗?
可以认为人民币通过BTC交易换美元导致美元溢价了2.2个点,这样是可以解释内盘美元比人民币溢价2.2个点

但是我当时是按美元计价得到内盘美元喂价低了超过2个点,人民币喂价差不多。
你看看bingo在我后面几分钟的截图,人民币计价 0.4728,按1美元7.05算是0.067美元。
有没有可能你们的脚本汇率转换逻辑有问题,把0.067美元的BTS按 6.9 转成人民币喂价 0.4627人民币,再按 7.05的汇率算成 0.0656美元了?
所以当时的实际情况是人民币和美元喂价都低了超过2个点。
Title: Re: Price Feed Review
Post by: Thom on June 02, 2019, 01:32:11 am
I've adjusted my feed pricing a couple days ago and have been monitoring the results.  I hope you find it more in line with expectations. 

I'd like to mention that depending on when you take a snapshot of feed prices it might not be an accurate representation of how well any witness it tracking price, with regard to how often a feed script is checking for price changes.  For example if taken just after a significant price movement it might appear that some prices are off from where they should be.  Where as, if given more time (at least 1 hour), their feed price script will make the appropriate adjustment.   We are looking at many different markets also, so picking a time where all of these have been relatively stable for a period of time would be important for having a snapshot be an accurate representation.

I'm not saying this applied to my feeds abnormal prices, just wanted to mention it, as it might for some look worse than it actually is.

I'm currently only checking once an hour for price changes due to certain free API limit restrictions.  As far as I understand it, this is still adequate.  Please inform me if this is no longer considered acceptable.

After looking at my feeds, I found it was in fact a bit off and needed attention.  I'll continue to keep a closer eye on this.  Thanks everyone for paying attention.

Indeed, but I don't believe after reviewing bitcrab's link to the "standard" he is using takes such things into account. His "standards" are simply not comprehensive enough, but that doesn't matter to him apparently, or do other factors that should be concerning the witness role, such as the number of feeds a witness provides, or how frequently they are updated, to say the least.

When I check my feeds most of the time they are < 0.1% from median. When they are checked makes a huge difference. If they are off at certain times are they off enough to skew the median by a significant amount (do my "bad" feeds skew the median by more than 1% ?) I seriously doubt it. The charts on the page in black, how are they calculated? Which exchanges / sources are used? How often are they sampled?

Just throwing up a chart of some numbers to rank witnesses' feed accuracy without that info is not helpful. If that info is available consider publishing it for the benefit of the entire BTS community.

The tool I rely on is RoelandP's witness log: https://roelandp.nl/bitshareswitnesslog/ (https://roelandp.nl/bitshareswitnesslog/) As of this moment my feed for CNY is only off by 0.05 BTS from median price, that's less than $0.0034185, and that is just one witnesses' influence. Calling for witness unvote for such small deviations is a witch hunt and is ridiculous. Not surprising to see such behavior from you tho. I am surprised to see alt agreeing with bitcrab tho.
Title: Re: Price Feed Review
Post by: binggo on June 02, 2019, 02:20:01 am
As of this moment my feed for CNY is only off by 0.05 BTS from median price, that's less than $0.0034185, and that is just one witnesses' influence.

0.05bts?

your feed price: 0.4733cny*0.05bts=0.023665cny, i don't think it is a small influence, you have more 2% influence than fiat price.

Now the fiat bts price is: 0.485cny, can you explain how you got the 0.4733cny?

Later you give a feed price 0.4725cny?! please explain?

Quote
If they are off at certain times are they off enough to skew the median by a significant amount

This is what‘s your thoughts? please don't so childish.

Do you know what's the difference between the two USDT Price? why one is 0.48147? and why one is 0.47094?

Do you know what's the difference between the two BTC Price?

(https://user-images.githubusercontent.com/34892308/58756326-ecd3cb80-8528-11e9-83c8-f51f86f8fe71.png)(https://user-images.githubusercontent.com/34892308/58756327-feb56e80-8528-11e9-94bc-ef05a844450c.png)
Title: Re: Price Feed Review
Post by: bitcrab on June 02, 2019, 03:50:54 am
median does not mean correct.

the median of a mess is also a mess.

it's not difficult for one user to find what a value is correct at a moment. only when every witness' feed price is good enough the median can be a dependable value.
Title: Re: Price Feed Review
Post by: Thom on June 02, 2019, 08:06:02 pm
median does not mean correct.

the median of a mess is also a mess.

it's not difficult for one user to find what a value is correct at a moment. only when every witness' feed price is good enough the median can be a dependable value.

Then one of us is definitely wrong, and I don't think it's me. Abit has commented as have others about the nature of the median price calculation. We use the median price, not an average for the very reason to exclude large influences by individual witnesses.

This leads me to think you're only trying to manipulate prices / trades through your pushing your perspective. It wouldn't be the first time you've done that.

@binggo, I didn't understand the calculation you made in which you claim my feed prices affects the median by more than 2%. I will study it more to try to make sense of it and will comment about that later.
Title: Re: Price Feed Review
Post by: binggo on June 02, 2019, 11:46:13 pm
@binggo, I didn't understand the calculation you made in which you claim my feed prices affects the median by more than 2%. I will study it more to try to make sense of it and will comment about that later.

Ok,correct the words,“you have more 2% influence price differential than fiat price.”


verbaltech2   0.4672   0.584   1.6   1.02   14 seconds ago
fox   0.4694   0.5633   1.6   1.01   8 minutes ago
BTC pirce
roelandp   0.4729   0.5675   1.6   1.02   3 minutes ago
xeldal   0.4734   0.5681   1.6   1.01   22 minutes ago
magicwallet.witness   0.4742   0.569   1.6   1.01   1 minute ago
xn-delegate   0.4756   0.5707   1.6   1.01   18 minutes ago
sahkan-bitshares   0.4758   0.571   1.6   1.02   19 minutes ago
blckchnd   0.4769   0.5723   1.6   1.02   44 minutes ago
bhuz   0.4776   0.5027   1.6   1.01   31 minutes ago
xman   0.4779   0.59   1.6   1.01   23 minutes ago
zapata42-witness   0.4781   0.5737   1.6   1.02   14 minutes ago
USDT pirce 6.90

witness.yao   0.4783   0.574   1.6   1.01   3 minutes ago
btspp-witness   0.4796   0.6149   1.6   1.01   9 minutes ago
delegate-zhaomu   0.4806   0.5768   1.6   1.01   8 minutes ago
in.abit   0.4807   0.6163   1.6   1.01   7 minutes ago
delegate.freedom   0.4809   0.6011   1.6   1.01   38 minutes ago
bangzi   0.4813   0.5776   1.6   1.01   13 minutes ago
zbbtsbp   0.4818   0.5353   1.6   1.01   52 minutes ago
clockwork   0.4829   0.5795   1.6   1.01   9 minutes ago
gdex-witness   0.483   0.637   1.6   1.01   1 minute ago
witness.hiblockchain   0.483   0.5796   1.6   1.01   13 minutes ago

so what?
Title: Re: Price Feed Review
Post by: alt on June 03, 2019, 06:36:19 am
unvoted delegate-zhaomu and magicwallet.witness

didn't get any response.
unvoted for verbatech2 and witness.yao.
will wait others response for another 24 hours.
Title: Re: Price Feed Review
Post by: zhouxiaobao on June 03, 2019, 07:39:21 am
     The price of DEX should be an important criterion to measure the accuracy of feed price.
     When Bitcny is not devalued, the feeding price should not be lower than the price of DEX. But in fact, this often happens, and that's why people complain.
Title: Re: Price Feed Review
Post by: binggo on June 03, 2019, 11:07:39 am
What's a ashamed feed price? can you feel that?

It's a shame for the BITasset and BTS holder.

If you can't find out what's wrong with your feed price, please don't feed it.

And this also said to some big voting Proxy, please don't act like a zombie.

(https://user-images.githubusercontent.com/34892308/58796984-50492080-8631-11e9-81e0-a076ad4b4c3e.png)
Title: Re: Price Feed Review
Post by: zhaomu on June 03, 2019, 02:27:54 pm
unvoted delegate-zhaomu and magicwallet.witness

didn't get any response.
unvoted for verbatech2 and witness.yao.
will wait others response for another 24 hours.

Greetings to Alt and the BTS community members,

Sorry for the late response to this situation and here is my explanation. On May 31st, bitcrab @ me in wechat group about the price feed issue and I responded immediately saying "I will check it" (see the figure below).

(https://ae01.alicdn.com/kf/HTB18lFDbv1H3KVjSZFBq6zSMXXab.jpg)

So I started to check my price feed script, which seems like the CNY to USD exchange rate caused the issue so I started to find more reliable API of currency exchange(I used the paid openexchangerates) and find if there is any logic bug can be fixed during the calculation of exchange rate. At the meanwhile, I was planning to add the premium between dex and external exchanges as a factor which is taken into consideration as a hotfix, to calculate the final price feed. However, when I first added the premium factor, I mistakenly messed up with its signs, but I found and fixed it immediately. So that's why there is a screenshot shows that the difference between my price feed and the median price feed reached 5%. In fact, this situation might not last for more than 10 minutes. You can see that bitcrab kindly reminded me about the issue at 13:47 and the screenshot about a 5% difference showed up around 14:00 when I am fixing. Finally, my price feed seemed like working well according to my observations later on that day(I am also constantly observing the price feed these days).

Since I thought that my price feed had been back to normal, I did not go to bitsharestalk to check if there was any new discussion about the price feed on the forum that day. And when I found this thread and prepared to respond, I found I cannot get the verification code to post unless *you know it* and due to the current network status(*you know it*), I failed a lot of times. Thus, I missed the in-time response to your question. I am extremely sorry for this and I promise that I will check the forum more frequently in the future. In fact, I really care about the price feed that I check it periodically and I also make quick responses to any changes decideded by the community consensus, e.g., MSSR.

This is my explanation about this event. I apologize for it again and I would be much appreciated if you can re-vote me again. Of course, any advice and suggestion from you and the community are thankful too. I will continue improving my price feed script. I hope we can make Bitshares much better.

Delegate-zhaomu
Title: Re: Price Feed Review
Post by: zhouxiaobao on June 03, 2019, 03:24:11 pm
      Feed price is too important for DEX. If the bitcny is at a premium and the price of the DEX does not fall, the feed price should not fall.
      The price of DEX is often suppressed by feed prices, but the rise of DEX does not push up feed  prices, which is why we are angry.
Title: Re: Price Feed Review
Post by: abit on June 03, 2019, 06:53:35 pm
看了下这个平台就是FIAT USD,USDT和美元汇率就是1.0对吗?
USDT:法币USD 的历史价格,可以参考这个图 https://trade.kraken.com/markets/kraken/usdt/usd
这个是USD法币和USDT直接交易的交易对。
最近还比较稳,在 1.0 附近

Quote
可以认为人民币通过BTC交易换美元导致美元溢价了2.2个点,这样是可以解释内盘美元比人民币溢价2.2个点
按我的历史数据,USD:CNY 在 7.0到7.1x都出现过,并不是稳定在7.05,更不是6.9。
也就是说USD相对官方汇率的溢价在1.5-3范围波动。

Quote
但是我当时是按美元计价得到内盘美元喂价低了超过2个点,人民币喂价差不多。
你看看bingo在我后面几分钟的截图,人民币计价 0.4728,按1美元7.05算是0.067美元。
有没有可能你们的脚本汇率转换逻辑有问题,把0.067美元的BTS按 6.9 转成人民币喂价 0.4627人民币,再按 7.05的汇率算成 0.0656美元了?
所以当时的实际情况是人民币和美元喂价都低了超过2个点。
binggo的图,你说的是这个吧:https://bitsharestalk.org/index.php?topic=28383.msg331008#msg331008

我看了下,那几个图是分别截的,第2/3个图明显时间戳差了十几分钟,第一个图看不到时间戳,不知道什么时候截的,感觉没法对比。
况且,第一个图是第三方行情站的图,行情站的数据采集是有延迟的,可信度不如直接从交易网站截图。

像下面我的截图这样,把所有网页窗口排在一起截的,都是一个时间点,就好算一点。

再说算法,你觉得你发帖的时候,人民币喂价差不多,这个帖子里
https://bitsharestalk.org/index.php?topic=28383.msg331007#msg331007
中间喂价 0.4640 你感觉是认可的?
你按 6.9 算的话usd喂价应该是 0.464/6.9 = 0.067

我当时的喂价是 cny 0.4637  usd 0.0652
也就是说 usd/cny = 0.4637/0.0652 = 7.11 比 6.9 差了近3个点,但逻辑是对得上的

Quote

@alt

为什么CNY:USD交易价格在7以上,而不是“官方”规定的6.9?因为“官方”汇率是被操纵的。而加密货币交易市场是自由的。

我的上次喂价:
Kraken BTC 报价 8550 美金
Bittrex BTC 报价 8549 美金
ZB BTC  报价 60241 RMB
AEX BTC 报价 60284 RMB

综合结果:
人民币:美金 约等于 7.05

最新报价截图
(https://user-images.githubusercontent.com/9946777/58747882-758f3080-8471-11e9-9aea-d7d003ab363c.png)

60300, 60202 / 8582, 8570 ~= 7.015, 7.036
Title: Re: Price Feed Review
Post by: binggo on June 03, 2019, 10:12:30 pm
The exchange of USDT with CNY

https://c2c.huobi.co/en-us/trade/buy-usdt/
https://trans.zb.com/usdtqc
https://www.gate.io/trade/USDT_CNYX

aicoin这个是大多数国人在用的行情网站。
https://www.aicoin.net.cn/

实际就是国内只能以CNY转换为USDT入金,个别交易所可以以实际法币CNY直接入金。

从交易所取的价格也不能是实时成交价格,应当是深度加权中间价格
Title: Re: Price Feed Review
Post by: Xeldal on June 04, 2019, 12:57:54 pm
Made some final changes to my script today.  I had CNY, USD, EUR, and BTC. properly feeding yesterday and removed my feeds on the rest of the assets temporarily until I had them reconfigured as well.  Which I've completed this morning.

I'm voted out at the moment.  Please consider re adding your votes.  Thanks. 


Title: Re: Price Feed Review
Post by: abit on June 04, 2019, 04:02:05 pm
The exchange of USDT with CNY

https://c2c.huobi.co/en-us/trade/buy-usdt/
https://trans.zb.com/usdtqc
https://www.gate.io/trade/USDT_CNYX

aicoin这个是大多数国人在用的行情网站。
https://www.aicoin.net.cn/

实际就是国内只能以CNY转换为USDT入金,个别交易所可以以实际法币CNY直接入金。

从交易所取的价格也不能是实时成交价格,应当是深度加权中间价格
USDT现价约7.2 CNY

很多见证人的CNY喂价还行,但 USD 喂价是不对的,偏高。

进一步说,EUR和其他币种的喂价不知道差多远。

(https://user-images.githubusercontent.com/9946777/58899979-7ee0fd00-86fe-11e9-88ad-80347e6d0e28.png)
Title: Re: Price Feed Review
Post by: binggo on June 05, 2019, 12:04:43 am
USD的喂价其实也不高,因为还要看实际法币USD的进场是否流畅,还是通过USDT来转换,USDT的出场费用等。

每个地区的实际交易者才对实际的法币价格有深入的了解。

就好比现在跟后面这几位见证人解释不能采用官方汇率直喂BTC与USDT价格,他们很难理解,哪怕他们自己喂USD的价格也够呛能够了解清楚

USDT现价约7.2 CNY

很多见证人的CNY喂价还行,但 USD 喂价是不对的,偏高。

进一步说,EUR和其他币种的喂价不知道差多远。

Title: Re: Price Feed Review
Post by: zhouxiaobao on June 05, 2019, 01:44:45 am
        喂价应当是在本地购买bts所花费的法币数量。否则国际汇兑损失,交易手续费,等等,是很贵的,不计算进去,价格差就会很大。这就是为啥我们内盘投资者总觉得喂价低了,我们花的钱不止这个数啊!
       bitcny的喂价应当是“在中国购买一个bts需要的人民币法币数量”。
       bitusd的喂价应当是"在美国购买一个bts需要的美元法币数量"。
       这中间所有的手续费都应当算上。
       如果觉得难以采集数据,那就用最高价原则加上偏离顶,最高价最接近实际价格。
       mssr已经是1.01了,理论上充值费率不应当超过1%过多,现在快2%了,就是说喂价还是比实际价格低了一点。

       
Title: Re: Price Feed Review
Post by: abit on June 05, 2019, 07:59:52 am
USD的喂价其实也不高,因为还要看实际法币USD的进场是否流畅,还是通过USDT来转换,USDT的出场费用等。

每个地区的实际交易者才对实际的法币价格有深入的了解。

就好比现在跟后面这几位见证人解释不能采用官方汇率直喂BTC与USDT价格,他们很难理解,哪怕他们自己喂USD的价格也够呛能够了解清楚

USDT现价约7.2 CNY

很多见证人的CNY喂价还行,但 USD 喂价是不对的,偏高。

进一步说,EUR和其他币种的喂价不知道差多远。


高不高,要看当时的行情。截图USDT只是参考。

这样吧,你每小时出一个合理喂价数据,然后和见证人比一下?

(https://user-images.githubusercontent.com/9946777/58940121-fce1ea00-8778-11e9-8713-b5981854076f.png)
Title: Re: Price Feed Review
Post by: binggo on June 05, 2019, 09:12:55 am
这么简单的问题也不需要1小时出一次喂价对比.

国外的见证人按照USD的价格来官方汇率换算成CNY的价格,那我们也按照我们可以使用的法币价格倒推过去,

现在法币cny的价格是0.430cny/bts,官方汇率是6.9076,USDT汇率是7.13,

按照官方汇率:bitusd的喂价就是:0.430/6.9076=0.06225。bitusd的现时喂价是0.061008,交易所USDT价格是0.0595

国外喂BITCNY的价格是低于法币价格,我们喂BITUSD的价格其实是高于USDT价格,等于实际USD价格。


另外一点是USDT在tether的充入费率是0.1%,提现费率3%。


高不高,要看当时的行情。截图USDT只是参考。

这样吧,你每小时出一个合理喂价数据,然后和见证人比一下?

Title: Re: Price Feed Review
Post by: ioex on June 05, 2019, 02:37:13 pm
(https://uploads.tapatalk-cdn.com/20190605/5a593153a6de540f6f2f6facc35fdcc8.jpg)

不说了,这种也能当见证人,呵呵
Title: Re: Price Feed Review
Post by: ioex on June 05, 2019, 02:39:27 pm
(https://uploads.tapatalk-cdn.com/20190605/5a593153a6de540f6f2f6facc35fdcc8.jpg)

不说了,这种也能当见证人,呵呵

这里面zhaomu、verbaltech2被点名批评次数已经数不清了,然而,稳做见证人。
Title: Re: Price Feed Review
Post by: zhaomu on June 05, 2019, 06:05:54 pm
对于CNY的喂价已经采用中币的QC-USDT QC-CNY 完成 CNY到USDT的转化,再取各交易所的BTS:USDT。根据观察,喂价已经恢复正常。抱歉修改喂价脚本花了点时间,也感谢社区的监督。
Title: Re: Price Feed Review
Post by: zhaomu on June 05, 2019, 06:17:18 pm

[/quote]

这里面zhaomu、verbaltech2被点名批评次数已经数不清了,然而,稳做见证人。
[/quote]

这位兄弟,这个感觉比较冤枉。。。我这几天一直在修改喂价脚本,最先的思路是引入内盘权重,这个方法在横盘时都还比较正常,但是遇上这两天暴跌都是从内盘开始跌,就比较无力。后来感谢论坛各位的提醒,发现了根本原因,不能用美元-人民币的银行汇率进行计算。所以赶紧再次修改脚本,现经观察已经恢复正常了。不过也感谢你的监督啦,大家都希望比特股变得更好 :)
Title: Re: Price Feed Review
Post by: binggo on June 05, 2019, 11:48:25 pm
内盘价格做权重,必须做上下价格保护,喂价规则起码是这样,:

偏差率=P

喂价=内盘深度加权中间价*权重+外盘深度指数价格×(1+P)*权重

设一个上下价格保护: 外盘深度指数价格×(1+P)<喂价< (1.05+P)×外盘深度指数价格

P按照历史喂价的偏差数据看,一般在2%左右,可以按照自己的喂价与实际法币价格偏离情况进行调整。

这样就算是你按USD的官方汇率换算,内盘深度价格做大权重,你的喂价在极端情况下也不会偏离出多少。

这只是针对BITCNY的喂价, 其它的锚定资产需要另讨论。

或者是这位哥哥的:
Quote
if
max(DEX*溢价、CEX1、CEX2……)≤ Average(DEX*溢价、CEX1、CEX2……)*1.05

feed price=max(DEX*溢价、CEX1、CEX2……)

otherwise

feed peice=Average(DEX*溢价、CEX1、CEX2……)*1.05

控制喂价下跌的速度,防止插针。

if

feed price(n)*0.97<feed price(n+1)<feed price(n)

feed price =feed price(n)*(1-0.5‰)

otherwise

feed price=feed price(n+1)

另外必须是深度加权中间价格,即时成交价有时候太坑。

这位兄弟,这个感觉比较冤枉。。。我这几天一直在修改喂价脚本,最先的思路是引入内盘权重,这个方法在横盘时都还比较正常,但是遇上这两天暴跌都是从内盘开始跌,就比较无力。后来感谢论坛各位的提醒,发现了根本原因,不能用美元-人民币的银行汇率进行计算。所以赶紧再次修改脚本,现经观察已经恢复正常了。不过也感谢你的监督啦,大家都希望比特股变得更好 :)
Title: Re: Price Feed Review
Post by: zhouxiaobao on June 06, 2019, 03:34:28 am

解释一下我的方案。
一、最高价原则,设偏离顶。
if
max(DEX*溢价、CEX1、CEX2……)≤ Average(DEX*溢价、CEX1、CEX2……)*1.05

feed price=max(DEX*溢价、CEX1、CEX2……)

otherwise

feed peice=Average(DEX*溢价、CEX1、CEX2……)*1.05

二、控制喂价下跌的速度,防止插针。
假设n时刻的喂价为feed price(n),n+1时刻的喂价为feed price (n+1),当喂价剧烈下跌的时候,我们应当让喂价下跌慢一点,速度均匀一点。

if

feed price(n+1)<feed price(n)

feed price =feed price(n)*(1-0.5‰)

otherwise

feed price=feed price(n+1)
Title: Re: Price Feed Review
Post by: ioex on June 06, 2019, 04:40:32 am

这位兄弟,这个感觉比较冤枉。。。我这几天一直在修改喂价脚本,最先的思路是引入内盘权重,这个方法在横盘时都还比较正常,但是遇上这两天暴跌都是从内盘开始跌,就比较无力。后来感谢论坛各位的提醒,发现了根本原因,不能用美元-人民币的银行汇率进行计算。所以赶紧再次修改脚本,现经观察已经恢复正常了。不过也感谢你的监督啦,大家都希望比特股变得更好 :)

能及时更正值得赞扬
希望能加一个与内盘偏离百分比的限制,如果偏离过多,就不要用这个价格喂了。
Title: Re: Price Feed Review
Post by: zhaomu on June 06, 2019, 07:18:40 am

解释一下我的方案。
一、最高价原则,设偏离顶。
if
max(DEX*溢价、CEX1、CEX2……)≤ Average(DEX*溢价、CEX1、CEX2……)*1.05

feed price=max(DEX*溢价、CEX1、CEX2……)

otherwise

feed peice=Average(DEX*溢价、CEX1、CEX2……)*1.05

二、控制喂价下跌的速度,防止插针。
假设n时刻的喂价为feed price(n),n+1时刻的喂价为feed price (n+1),当喂价剧烈下跌的时候,我们应当让喂价下跌慢一点,速度均匀一点。

if

feed price(n+1)<feed price(n)

feed price =feed price(n)*(1-0.5‰)

otherwise

feed price=feed price(n+1)

引入内盘价权重确实会遇到很多坑,感觉是个双刃剑问题。它一方面确实能解决横盘时期"喂价压着bts价格"的问题。但是另一方面,遇到暴跌行情,爆仓单一压着,又会造成"喂价拖着bts价格往下走"的情况。所以我现在暂时又将内盘权重移除了。

设置各种逻辑和上下价保护确实可以一定程度解决内盘权重的坑,但是我有一些顾虑。第一,我觉得脚本还是要遵循剃刀原理,如无必要,无需增添。现在通过各外部交易所加权取CNY喂价,有从CNY-QC-USDT-BTS这么个途径取得bts-CNY的喂价,也有类似于AEX直接取CNY-CNC-BTS这个途径取喂价,经我观察已经能够较好反应真实情况,那个人认为就不要再加更多复杂的规则了,因为有的时候系统越复杂反而漏洞越多。第二,加规则我觉得还是有人为因素。比如这个“偏差率p”,和"1.05"的问题,个人觉得可能会对喂价的客观性造成影响。

欢迎拍砖和继续讨论。当然我也会持续改进自己的喂价脚本。端午快乐
Title: Re: Price Feed Review
Post by: binggo on June 06, 2019, 08:18:22 am
我感觉你们现在还不能理解老鼠拖着大象走的窘态, 以及未来内盘交易量远大于外盘时外盘喂价带来的致命威胁性.

在将内盘价格作为喂价权重的时候, 首先要清楚内盘是一个什么样的机制, 在这样一个抵押爆仓机制下, 内盘作为喂价权重在内盘价格下跌及上升时都有螺旋效应, 而所要做的就是需要避免这个螺旋效应, 但是不能因为这个螺旋效应就把内盘的成交量与价格一笔抹去, 这不正常.
所以就需要一个价格上下限来进行约束。

"偏差率"与1.05都是一些客观存在的东西,个人的主观因素起的作用有限,就跟强清补偿2%,MSSR=1.01一样。

最主观的因素已经在现在的喂价里体现的清清楚楚,为什么有人会拿着官方汇率来直喂并且到现在也不想改?为什么会有人采用币蛋的价格?

而且各个外部交易所的价格权重也是见证人自己设定,这也是主观因素。

用一些客观参数最大程度上摈除喂价提供者的主观因素与汇率影响,我们才能得到一个相对合理的喂价。

当然内盘价格作为喂价也有缺陷性,会导致爆仓频发,这就引申出另外一个规则“爆仓线与抵押线分开留出9%价格缓冲空间”。


我们拿bitUSD的喂价来看,abit说现在的bitUSD的喂价有些偏高,而实际上我们来看并不高,而且还有些偏低,USDT的有进出的充提费率,换过来实际上的USD的bts价格就是比USDT价格高。这个价格差异要么加到喂价脚本里,要么加到参数P上。

等有时间我们再去看看bitEUR的喂价,不在欧元区不知道他们的交易情况如何,不好断定。

喂价稍微高那么一两个点,影响不是很大,但是低上一两个点,带来的就是内盘的腥风血雨与充值费的大幅飙升,变相阻挡了资金的进入。

另一点就是: 取外盘交易所的价格要取深度加权中间价,不要取即时成交价格。
举两个实际的例子,ZB的QC交易对与AEX的CNC交易对,ZB永远在用小单刷买一,所以你取到的永远是买一价格,AEX永远是在刷卖一价格,所以你取到的永远是卖一价格。

引入内盘价权重确实会遇到很多坑,感觉是个双刃剑问题。它一方面确实能解决横盘时期"喂价压着bts价格"的问题。但是另一方面,遇到暴跌行情,爆仓单一压着,又会造成"喂价拖着bts价格往下走"的情况。所以我现在暂时又将内盘权重移除了。

设置各种逻辑和上下价保护确实可以一定程度解决内盘权重的坑,但是我有一些顾虑。第一,我觉得脚本还是要遵循剃刀原理,如无必要,无需增添。现在通过各外部交易所加权取CNY喂价,有从CNY-QC-USDT-BTS这么个途径取得bts-CNY的喂价,也有类似于AEX直接取CNY-CNC-BTS这个途径取喂价,经我观察已经能够较好反应真实情况,那个人认为就不要再加更多复杂的规则了,因为有的时候系统越复杂反而漏洞越多。第二,加规则我觉得还是有人为因素。比如这个“偏差率p”,和"1.05"的问题,个人觉得可能会对喂价的客观性造成影响。

欢迎拍砖和继续讨论。当然我也会持续改进自己的喂价脚本。端午快乐
Title: Re: Price Feed Review
Post by: zhouxiaobao on June 06, 2019, 08:44:57 am

解释一下我的方案。
一、最高价原则,设偏离顶。
if
max(DEX*溢价、CEX1、CEX2……)≤ Average(DEX*溢价、CEX1、CEX2……)*1.05

feed price=max(DEX*溢价、CEX1、CEX2……)

otherwise

feed peice=Average(DEX*溢价、CEX1、CEX2……)*1.05

二、控制喂价下跌的速度,防止插针。
假设n时刻的喂价为feed price(n),n+1时刻的喂价为feed price (n+1),当喂价剧烈下跌的时候,我们应当让喂价下跌慢一点,速度均匀一点。

if

feed price(n+1)<feed price(n)

feed price =feed price(n)*(1-0.5‰)

otherwise

feed price=feed price(n+1)

引入内盘价权重确实会遇到很多坑,感觉是个双刃剑问题。它一方面确实能解决横盘时期"喂价压着bts价格"的问题。但是另一方面,遇到暴跌行情,爆仓单一压着,又会造成"喂价拖着bts价格往下走"的情况。所以我现在暂时又将内盘权重移除了。

设置各种逻辑和上下价保护确实可以一定程度解决内盘权重的坑,但是我有一些顾虑。第一,我觉得脚本还是要遵循剃刀原理,如无必要,无需增添。现在通过各外部交易所加权取CNY喂价,有从CNY-QC-USDT-BTS这么个途径取得bts-CNY的喂价,也有类似于AEX直接取CNY-CNC-BTS这个途径取喂价,经我观察已经能够较好反应真实情况,那个人认为就不要再加更多复杂的规则了,因为有的时候系统越复杂反而漏洞越多。第二,加规则我觉得还是有人为因素。比如这个“偏差率p”,和"1.05"的问题,个人觉得可能会对喂价的客观性造成影响。

欢迎拍砖和继续讨论。当然我也会持续改进自己的喂价脚本。端午快乐

现在内盘价又已经被喂价压下来了,感觉不出什么问题。但是上涨时内盘价格往往会比外盘高,且bitcny还在溢价状态,就像前期上涨时就出现了这种情况。上涨时喂价不考虑内盘价,就会明显压制多头,且内盘已经这么大了,不能总是老鼠拉着大象走。所以最高价原则还是很有必要的。
Title: Price Feed Review
Post by: ioex on June 06, 2019, 02:26:56 pm

喂价稍微高那么一两个点,影响不是很大,但是低上一两个点,带来的就是内盘的腥风血雨与充值费的大幅飙升,变相阻挡了资金的进入。


这句话非常赞同!

而且适当高一些,能够像适度保持通胀刺激经济的效果
Title: Re: Price Feed Review
Post by: bitcrab on June 07, 2019, 06:06:04 am

喂价稍微高那么一两个点,影响不是很大,但是低上一两个点,带来的就是内盘的腥风血雨与充值费的大幅飙升,变相阻挡了资金的进入。


这句话非常赞同!

而且适当高一些,能够像适度保持通胀刺激经济的效果
不能这么说。

bitCNY的MSSR已经降到1.01,高两个点的话,就意味着爆仓单卖价比市场价还高,不利于风险消除,增加黑天鹅防护的概率。

当然,喂价低危害更大。首先需要解决的是喂价偏低问题。
Title: Re: Price Feed Review
Post by: bitcrab on June 07, 2019, 07:09:29 am
as I observe, most of the time the median USD price feed is a little higher than reasonable.

currently(UTC 6:52 7th)

kraken: BTC/USD: 7914.5
bittrex: BTC/USD:  7916.4
bittrex: USDT/USD: 1.004
binance: BTS/BTC:  0.00000772
huobi: BTS/USDT:  0.0609
huobi OTC: BTC/CNY: 55850
huobi OTC: USDT/CNY: 7.06

based on above data, BTS/USD price at the moment should be about 0.0611. however at the time the feed price is 0.061522.

yes, it's only less than 1% higher, but I think we need to find something behind this data.

one thing is that the officially published USD/CNY ratio should not be used in feed price calculation, as CNY is still restricted in trading in currency market.

at the moment, the officially published USD/CNY ratio is 6.91, however from above data we can calculate that the ratio should be above 7.05.
Title: Re: Price Feed Review
Post by: binggo on June 07, 2019, 07:50:55 am
BTS/USD price should be about 0.06208.
BTS/USDT price should be about 0.0609.

bitUSD:USD=1:1? or bitUSD:USDT=1:1?



Title: Re: Price Feed Review
Post by: pc on June 07, 2019, 08:34:28 am
bitUSD:USD=1:1?

This. bitUSD is pegged to USD not USDT.
Title: Re: Price Feed Review
Post by: binggo on June 10, 2019, 05:40:53 am
please remove the vote from clockwork,magicwallet.witness, verbaltech2 .

especially magicwallet.witness, verbaltech2

especially especially verbaltech2

Title: Re: Price Feed Review
Post by: ioex on June 10, 2019, 03:17:50 pm
我的见证人已经在喂价了,从这两天的结果来看,喂价还是比较准确的,Cny喂价基本上在+-1%之间波动,USD喂价基本上偏高1-2%,但是考虑到内盘汇率高于法币汇率,我提供的USD喂价较高也较为合理。
Title: Re: Price Feed Review
Post by: bitcrab on June 23, 2019, 03:00:34 pm
observed at UTC 14:50 23th

kraken: BTC/USD: 10723
kraken: USDT/USD: 0.9947
bittrex: BTC/USD:  10706
bittrex: USDT/USD: 0.993
binance: BTS/BTC:  0.00000614
huobi: BTS/USDT:  0.066
huobi OTC: BTC/CNY: 74850
huobi OTC: USDT/CNY: 6.94

at the moment the market price in CNY should be about 0.459.

Warning: fox and datasecuritynode provide a price feed which is 2%+ lower than reasonable

(http://i1.fuimg.com/523014/0637bf3c2632f5c6.png)

we should develop some tools to visualize the feed price in charts and make it easy for voters to check .
Title: Re: Price Feed Review
Post by: bitcrab on June 26, 2019, 04:17:36 am
unvoted datasecuritynode. poor price feeding.
Title: Re: Price Feed Review
Post by: bitcrab on June 27, 2019, 03:45:01 am
unvoted fox.
Title: Re: Price Feed Review
Post by: BTSMoon on June 30, 2019, 06:26:46 am
这3个见证人明显的共谋压低BitUSD 喂价!zapata42-witness, sahkan-bitshares, liondani
These 3 witnesses colluded to push down BitUSD Price feed!

(https://i.imgur.com/TkT6hy0.jpg)
Title: Re: Price Feed Review
Post by: clockwork on June 30, 2019, 07:55:19 am
Mentioned this before. PLEASE DONT USE COINEGG feeds
Title: Re: Price Feed Review
Post by: bitcrab on July 01, 2019, 04:27:32 pm
witness.hiblockchain and sahkan-bitshares, could you please explain why your feed price is reasonable?

(http://i1.fuimg.com/523014/8e4c391909effca4.png)
Title: Re: Price Feed Review
Post by: vianull on July 04, 2019, 03:58:43 am
witness.hiblockchain and sahkan-bitshares, could you please explain why your feed price is reasonable?

(http://i1.fuimg.com/523014/8e4c391909effca4.png)

witness.hiblockchain was adjusting some weights of exchanges, also watching the feed price . Our feeding price will be more precise in the future
Title: Re: Price Feed Review
Post by: lin5464 on July 15, 2019, 02:36:49 am
I'm afraid that Abit didn't set up a GS feed price protection for bitUSD.

(https://raw.githubusercontent.com/lin5464/git-img/master/bts/20190715102541.png)
Title: Re: Price Feed Review
Post by: BTSMoon on July 15, 2019, 06:03:06 am
I'm afraid that Abit didn't set up a GS feed price protection for bitUSD.

(https://raw.githubusercontent.com/lin5464/git-img/master/bts/20190715102541.png)

The Global Settlement happen at price is wrong.
Title: Re: Price Feed Review
Post by: abit on July 15, 2019, 10:30:01 am
I'm afraid that Abit didn't set up a GS feed price protection for bitUSD.


You're correct.
I didn't enable GS protection on bitUSD.
Now enabled.
Title: Re: Price Feed Review
Post by: startail on July 15, 2019, 02:30:08 pm
Please note that the "Global settlement happens at price" in the UI currently did not account for the MSSR values. This means that for bitUSD this value is 1.02 times higher. It's been fixed and pushed for next release.

The UI got two new enhancements to improve price feed monitoring by the community

Title: Re: Price Feed Review
Post by: Thom on July 16, 2019, 03:25:41 pm
Those interested in this topic may also want to review https://bitsharestalk.org/index.php?topic=20792.msg332496#msg332496 (https://bitsharestalk.org/index.php?topic=20792.msg332496#msg332496) as I just posted a reply there, and Thule has responded.
Title: Re: Price Feed Review
Post by: bitcrab on July 23, 2019, 03:28:45 am
I suggest every voter to unvote witness sahkan-bitshares.

up to now this witness still feed MCR=1.75 and MSSR=1.05 for bitUSD, ignoring the poll voting result.
Title: Re: Price Feed Review
Post by: ljk424 on August 03, 2019, 12:39:56 am
越来越低,dex里的bts才是真的bts,价格才是真的价格,为什么无视bts的真实价格,而选择cex虚假的甚至恶意的价格呢?!为什么要这么伤害社区伤害bts市值?
Title: Re: Price Feed Review
Post by: R on August 17, 2019, 03:33:25 pm
Could you please encourage price feed support for the following assets? Thanks

Hertz, Urthr, Verthandi, Skuld.

https://norns.hertz.network/
https://crypto.fans/hertz/
Title: packers and movers in bhopal
Post by: sahubs on August 24, 2019, 05:21:09 am
Flying Shift [https://www.flyingshift.com/]Packers & Movers Bhopal [/url]aims to facilitate seamless movement of goods all across the country. Keeping in mind the need to figure out logistics of transportation,[https://www.flyingshift.com/] Packers and movers[/url] take care of everything from scratch for you. Considering ourselves as the pioneers of relocation services in India, we strive hard to leverage our advanced carriers for uninterrupted services. Our pakers and movers Bhopal service USP is ability to constantly discover new methods to improvise, never leaving any problem unattended. Best Movers and Packers in Bhopal offers goods, office,household and local shifting services at convenient price.
Title: Re: Price Feed Review
Post by: sahubs on August 24, 2019, 05:21:52 am
https://www.flyingshift.com/
Title: Re: packers and movers in bhopal
Post by: sahubs on August 24, 2019, 05:22:56 am
Flying Shift [https://www.flyingshift.com/]Packers & Movers Bhopal [/url]aims to facilitate seamless movement of goods all across the country. Keeping in mind the need to figure out logistics of transportation,[https://www.flyingshift.com/] Packers and movers[/url] take care of everything from scratch for you.https://www.flyingshift.com/ Considering ourselves as the pioneers of relocation services in India, we strive hard to leverage our advanced carriers for uninterrupted services. Our pakers and movers Bhopal service USP is ability to constantly discover new methods to improvise, never leaving any problem unattended. Best Movers and Packers in Bhopal offers goods, office,household and local shifting services at convenient price.https://www.flyingshift.com/