In spite of the turmoil in my head (lots of things to process from bitshares 2.0!
), I managed to work more on the feeds and I now have all 5 market indices (including SHANGHAI) working reliably.
The feeds are fetched simultaneously from Yahoo, Google and Bloomberg and use the average of the three. That means that if one of them goes down, we still get the info from the other two.
I also implemented a (very basic) system that warns you in the logs if the prices are not consistent between all the sources.
So for people using the bts_tools, please upgrade to the latest 0.2.8 version to get those running. Let's get those markets open!