Author Topic: Price Feed Difference  (Read 7495 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: 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" :|

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
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.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
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 ?