Raised of very interesting question:
https://coinmarketcap.com/ru/currencies/bitcoin/#markets the price is shown for bitcoin in dollars according to exchange and type of currency pairs and how in fact it is calculated? (for example, there is the couple of LTC/BTC for any exchange - how the bitcoin price in dollars is determined for this couple?)

I have checked the link and it shows now a value for Russian Ruble and with your question about the calculation. There is programming in it, correct me if I'm wrong with my understanding to your question.
https://github.com/sebaslogen/bitcoin-price-tickerThe question is not quite clear.
Yes, I don't quite understand it but I tried to comprehend what OP really wants to say but if OP will make it clear please let us know and be more specific.