Dear KCEX Users,
Calculation Methods and Processing Logic for Index Price
In order to ensure that our trading platform reflects the fair value of each cryptocurrency accurately based on the spot market price, we have optimized the calculation methods for index price. Below is the calculation logic for index price on the KCEX trading platform, designed to ensure fairness and transparency in the market.
Index Price Calculation Logic
Our index price is calculated as a weighted average of data from multiple mainstream exchanges, ensuring accuracy of the final result. Specifically:
1. We obtain real-time data of the latest trading prices for all index component trading pairs of each cryptocurrency.
2. Every second, we fetch the latest prices from indexed exchanges using APIs.
3. If an exchange's price and volume haven't been updated within a certain period, its data is considered invalid and not included in the calculation.
4. Different weighted calculations are applied based on the number of valid exchanges:
- If there are three or more valid exchanges: Equal-weighted calculation of data from valid exchanges, with handling of abnormal prices.
- If there are two valid exchanges: Equal-weighted calculation of data from valid exchanges, with handling of abnormal prices.
- If there's only one valid exchange: Direct use of that exchange's price as the index price.
Find us on
Enjoy trading on KCEX,
The KCEX Team