@mtbitcoin, on home page the exchange rate of XCP is based on the last BTC Sell (for XCP) trade executed on the DEx, which was few days back.
Maybe you should the rate from Coinmarketcap or weighted average from main exchanges?
Does Coinmarketcap have an API for pulling prices?