OK contract liquidation means that the position is forced to be liquidated when the profit or loss exceeds the margin, resulting in a total loss of the margin. The calculation method is: 1. Profit and loss = current price - opening price; 2. Margin rate = margin amount / number of positions; 3. Liquidation conditions: absolute value of profit and loss ≥ margin amount; 4. Liquidation loss = margin amount.
OK contract liquidation calculation method
- Profit and loss calculation
Profit and loss = current price - opening price
- Positive value means profit
- Negative value means loss
- Margin rate calculation
Margin rate = margin amount / number of positions
- Margin amount: risk resistance funds
- number of positions: current contract number
- liquidation conditions
absolute value of profit and loss ≥ margin amount
- liquidation loss
Liquidation loss = margin amount
When liquidation occurs, the entire margin is lost
Example:
Open 10 BTC contracts, the margin rate is 10%, and the margin amount is US$10,000.
Profit liquidation:
- Current price: 20,000 USD
- Opening price: 10,000 USD
- Profit and loss: 100,000 USD
- Margin rate: 100%
- Trigger liquidation
Loss liquidation:
- Current price: 5,000 USD
- Opening price: 10,000 USD
- Profit and loss: -50,000 USD
- Margin rate: 50%
- Trigger liquidation
The above is the detailed content of How to calculate liquidation of ok contract?. For more information, please follow other related articles on the PHP Chinese website!

Cryptocurrency has always been a realm where the cutting edge of technology meets bold ambition, and it's only getting more exciting in the future. As artificial intelligence continues to grow in influence, there are a handful of digital assets that

This article reviews the ten-year price trend of Bitcoin from 2015 to 2025 in detail. Data shows that Bitcoin price fluctuates dramatically, experiencing huge changes from $200 to over $100,000. During this period, the price of Bitcoin was affected by a variety of factors, including halving of block rewards, market sentiment, regulatory policies, and global macroeconomic situation. The article analyzes the rise and fall of Bitcoin prices year by year, and focuses on interpreting the price changes in key years, providing a reference for investors to understand the history of Bitcoin prices and predict future trends. Keywords: Bitcoin price, Bitcoin trend, Bitcoin decade, digital currency, cryptocurrency
![Bitcoin [BTC] was on a downtrend after losing the $92,000-support level in the final week of February](https://img.php.cn/upload/article/001/246/273/174209101774967.jpg?x-oss-process=image/resize,p_40)
Technical indicators such as the OBV showed that selling pressure has been dominant, meaning more losses may be likely ahead.

The top ten free virtual currency exchanges are ranked: 1. OKX; 2. Binance; 3. Gate.io; 4. Huobi Global; 5. Kraken; 6. Coinbase; 7. KuCoin; 8. Crypto.com; 9. MEXC Global; 10. Bitfinex. These platforms each have their own advantages.

This article reviews the price trend of Ethereum since its listing in 2015, from the initial $0.31, it experienced a surge in 2017 to nearly $1,400, as well as a market plunge in 2018 and 2022, and then hit a record high of $4,891.70 in 2021, as well as a rebound and stability in 2023. The article data covers the significant changes in Ethereum prices over each year and predicts price trends for 2024-2025, providing investors with a comprehensive historical reference and future outlook for Ethereum prices. Understand the history of Ethereum price fluctuations and seize investment opportunities!

Since then, the provider has been investigating how this could have happened and how it will (hopefully) not happen again in the future.

Top 10 digital currency app platforms: 1. OKX, 2. Binance, 3. Gate.io, 4. Kraken, 5. Coinbase, 6. Huobi, 7. KuCoin, 8. Crypto.com, 9. Bitfinex, 10. Gemini; these platforms are ranked according to factors such as transaction volume, security and user experience. When choosing, the platform's security, liquidity, transaction fees, currency selection, user interface and customer support should be considered.

Ever wonder which meme coin could turn your small investment into life-changing gains? With the meme coin market heating up in 2025, investors are diving into fresh opportunities, hoping to catch the next big wave before prices skyrocket.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Mac version
God-level code editing software (SublimeText3)

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),