Sort:  

Recently I had to look into the code related to internal prices and I've noticed that part of the information I gave you was incorrect. The price from internal market is available, but it is not the market_median_history. Internal market can be observed with market_history_api, in particular latest price is in market_history_api.get_ticker in latest field. Funnily enough it was me who named market_median_history in such a deceitful way. market_median_history is always the same as current_median_history with exception of one special situation. When HBD debt hard limit is reached (when HBD in circulation, excluding DHF balance, is more than 30% of virtual HIVE supply), current_median_history price is artificially changed to the upside (for the purpose of internal calculations HIVE is artificially worth more than what witnesses report from external markets) while market_median_history is the uncorrected version of that price.

Thank you for getting back to me!