Sort:  

Median price ( feed price ) is a value you can just request from the blockchain.
I was looking for it in the code, but do not see where a debt ratio would be taken into account and somehow mixed to the median price ...