Digital currency perpetual contract development, contract exchange construction plan

Digital currency perpetual contract development and contract exchange construction plan The
perpetual contract model has been popular in the market once it was launched. Compared with the traditional contract trading model, perpetual contracts have no delivery period and traders can hold positions for a long time. Perpetual contract system development consultation Dianwei: [138--2315--3201]
Knowledge points necessary for the development of digital currency perpetual contract
Knowledge point 1- Funding cost mechanism
Funding cost mechanism is the most important feature of perpetual contract, it can Let the perpetual contract always anchor the spot price. The perpetual contract has no expiration date, but the fund fee will be settled every 8 hours.
If the funding rate is positive, the long side will pay the funding cost to the short side;
if the funding rate is negative, the short side will pay the funding cost to the long side.
Calculation formula: Funding cost = Net position value * Funding rate.
Knowledge point 2-Forward contracts and
forward contracts are generally quoted in USDT, and USDT is used as a collateral asset to calculate profit and loss.
A reverse contract is also called a currency-based contract. Taking BTC as an example, it is priced with USDT, but BTC is used to collect collateral assets and calculate profits and losses.
Knowledge point 3-Ladder liquidation function
. When the user's position is triggered, the system will first determine the position corresponding to its net position, and will partially liquidate its position to the next level by lightening its position. When the first level of net positions is calculated, the guaranteed asset ratio is still less than or equal to 0, and all positions of the user will be liquidated.
The characteristics of digital currency perpetual contract development:
1. It has an automatic lightening system. When the user's order is liquidated, it is entrusted to the market. If the
transaction cannot be executed due to insufficient liquidity, the larger "automatic lightening value" will be reduced The user's position maintains a stable long-short balance.
2. We are a leading domestic Internet application R&D service provider. With many years of blockchain software R&D experience, we
provide a full range of solutions for the construction of digital asset quantitative exchanges.
3. Trading method: set the spread ratio, float a certain percentage based on the current price for trading

Guess you like

Origin blog.51cto.com/14800898/2532932