Main Menu

Price Feed Difference

Started by emski, September 25, 2014, 10:32:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

*agreed* ... my script was a first shot and probably will change (improve) over time .. thanks for pointing it out!

But I am not so sure if it fits to "building the median over all exchange prices" :|

tonyk

Always have been of the same opinion.
Shouldn't be a rocket science to be done in the script. Even the use of historic volumes will be better than non-weighted average/median.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

emski

There are 2 widely used price feed scripts.
Alt's and Xeroc's version.
They produce different results due to additional exchanges added by xeroc.
However the volume on these exchanges is much lower and some might argue their weight in the price calculation should be reduced.
See the volume for yourself at http://coinmarketcap.com/currencies/bitshares-x/#markets.
I'd say mean price weighted by volume might be the best choice here.
Other suggestions ?
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]