Probability Density Curves for BitAsset feed, bid and ask vs. market price

Started by wasthatawolf, December 21, 2014, 10:36:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vikram


arhag

Quote from: wasthatawolf on February 04, 2015, 03:39:27 AM
Quote from: arhag on February 03, 2015, 07:00:09 AM
@wasthatawolf, do you have any idea why the bid price for BitUSD is reported higher than the ask price over the period of time roughly spanning Jan 22 to Jan 26? That is something that I thought would be impossible. It is resulting in a negative spread!

Edit: Also, the last time the price data was updated was Feb 01 2015 01:45:03 GMT.

Doesn't look like the bitsharesblocks API from @svk is working... http://www.bitsharesblocks.com:2086/api/feedstats

My guess is there was an issue with the data from that API for those 4 days in January.

Try this new URL: http://api.bitsharesblocks.com/v1/feedstats/USD?callback=angular.callbacks._1

wasthatawolf

Quote from: arhag on February 03, 2015, 07:00:09 AM
@wasthatawolf, do you have any idea why the bid price for BitUSD is reported higher than the ask price over the period of time roughly spanning Jan 22 to Jan 26? That is something that I thought would be impossible. It is resulting in a negative spread!

Edit: Also, the last time the price data was updated was Feb 01 2015 01:45:03 GMT.

Doesn't look like the bitsharesblocks API from @svk is working... http://www.bitsharesblocks.com:2086/api/feedstats

My guess is there was an issue with the data from that API for those 4 days in January.

arhag

@wasthatawolf, do you have any idea why the bid price for BitUSD is reported higher than the ask price over the period of time roughly spanning Jan 22 to Jan 26? That is something that I thought would be impossible. It is resulting in a negative spread!

Edit: Also, the last time the price data was updated was Feb 01 2015 01:45:03 GMT.


cass

█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

xeroc



vikram




arhag

Quote from: clayop on December 23, 2014, 05:16:08 PM
However, between bid and feed price, there is a significant difference (2.895) at 1% level. This implies we need improvements for bitUSD sellers.

I wonder how much this has to do with grandfathered shorts who aren't forced to cover in 30 days. Anyone know what fraction of the BitUSD supply is owed by grandfathered short positions?

I would also love to see statistics on the grandfathered short positions such as:

  • Fraction of grandfathered short positions (weighted by BitUSD debt owed) that would be margin called as a function of BTS price.
  • Fraction of grandfathered short positions (weighted by BitUSD debt owed) that would gain a {0%, 1%, 5%, 10%} profit by covering their short as a function of BTS price.
  • Historical data on grandfathered short positions (existing right after the 30 day market change, denoted the "original grandfathered set") that have already covered since then, including: the distribution of the profit/loss percentages that they covered at; fraction of grandfathered short positions remaining (weighted by BitUSD debt owed) relative to the "original grandfathered set" plotted over time along with the price of BTS.

clayop

Here is paired t test results



> t.test(data$feed, data$bid, paired=TRUE)

        Paired t-test

data:  data$feed and data$bid
t = 39.863, df = 588, p-value < 2.2e-16
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
2.752576 3.037864
sample estimates:
mean of the differences
                2.89522

> t.test(data$feed, data$ask, paired=TRUE)

        Paired t-test

data:  data$feed and data$ask
t = 1.6808, df = 588, p-value = 0.09333
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.03797046  0.48868061
sample estimates:
mean of the differences
              0.2253551



According to the results, feed price and ask price shows no statistical difference, that is pegging greatly works for bitUSD buyers.
However, between bid and feed price, there is a significant difference (2.895) at 1% level. This implies we need improvements for bitUSD sellers.
Bitshares Korea - [url="http://www.bitshares.kr"]http://www.bitshares.kr[/url]
Vote for me and see Korean Bitshares community grows
delegate-clayop

arhag

Quote from: wasthatawolf on December 23, 2014, 04:42:04 PM
@arhag

Full data set in JSON

http://delegate.ninja/assets/functions/alldata.php?t=bitusd

Nice. Could you also enable callbacks so that people could use JSONP directly from a static page rather than needing a proxy?