wackou/bts_tools

[Hero & Hertz] 'bitshares-pricefeed' referencing bitUSD | BTS_Tools referencing BTC:USD (bitUSD|BTC:USD)

grctest opened this issue · 3 comments

I created a similar issue on xeroc's repo.

There's a difference in price BTS:USD reference between the two Bitshares price feed libraries. @xeroc's scripts reference bitUSD meanwhile bts_tools references BTS:BTC:USD price feeds. This is the potential source of price feed differences for Hertz: https://btsapi.grcnode.co.uk/home

What's the appropriate USD reference for Hero and Hertz? bitUSD:BTS and/or BTS:BTC:USD?

Cheers

Would it be OK to involve the python-bitshares library as a dependency for retrieving data from the Bitshares blockchain, or should I perform a GET request against the HUG REST API within the price feed script?

I believe that the large price feed difference between bts_tools and the other price feeds was down to a programming error solved: #50

The original question is however still valid - referencing bitUSD vs BTS:BTC:USD, one/the other or a mix of both?

BSIP 76 (bitshares/bsips#221) has now set fixed (fake) price feeds for bitUSD.

Since this price feed script uses bitUSD as the price feed reference it's now producing inaccurate Hertz price feeds.

Can an alternative to bitUSD be provided for Hertz to become accurate again?