How does CoinDCX determine the price of a Perpetual or Futures contract?

Updated