Calculation of option's profit and loss
1. Single-currency margin: cross margin
In single-currency margin mode: cross margin, the system only allows users to open short positions of options. To open long positions under single-currency margin mode, please choose isolated margin and refer to 3. Single/Multi-currency/Portfolio margin: Isolated Margin in this article
The options positions are shown in the following:
![iii-calculation-of-option-profit-and-loss image 1](http://static.okx.com/cdn/assets/plugins/announcements/contentful/tofttmniq0qv/195X6SD8Aa7nsA6wWuzbXg/2b7f8e645c7f569d98fd80eb6fcf5a2f/https___www.okx.com_cdn_assets_plugins_announcements_contentful_14170891605389.jpg)
Term
|
Definition
|
Total
|
The total of long positions is a positive number, and the total of short positions is a negative number.
|
Options value
|
Options value = total positions * mark price * contact multiplier * contract value
|
P&L
|
Unrealized profit or loss of current position P&L = (mark price - avg. open price) * total positions * contract multiplier * contract value
|
P&L ratio
|
P&L of long positions = (mark price – avg. open price) / avg. open price
P&L of short positions = (avg. open price - mark price) / avg. open price
|
Initial margin
|
The initial margin for long positions is 0. As to initial margin of short positions, please refer to Introduction to the calculation of options margin.
|
Maintenance margin
|
The maintenance margin for long positions is 0. As to maintenance margin of short positions, please refer to Introduction to the calculation of options margin.
|
2. Multi-currency margin mode: cross margin
Under the multi-currency margin mode: cross margin, the system only allows users to open short positions of options. To open long positions under multi-currency margin mode, please choose isolated margin and refer to 3. Single/Multi-currency/Portfolio margin: Isolated Margin in this article
The options positions are shown in the following:
![iii-calculation-of-option-profit-and-loss image 2](http://static.okx.com/cdn/assets/plugins/announcements/contentful/tofttmniq0qv/A4KUz8uzyk0Ml9Trdkh3v/1ee2c480a7107f9cf25b55ebfd96b64e/https___www.okx.com_cdn_assets_plugins_announcements_contentful_14170917606541.jpg)
Term
|
Definition
|
Total
|
The total of long positions is a positive number, and the total of short positions is a negative number.
|
Options value
|
Options value = total positions * mark price * contact multiplier * contract value
|
P&L
|
Unrealized profit or loss of current position P&L = (mark price - avg. open price) * total positions * contract multiplier * contract value
|
P&L ratio
|
P&L of long positions = (mark price – avg. open price) / avg. open price
P&L of short positions = (avg. open price - mark price) / avg. open price
|
Initial margin
|
The initial margin for long positions is 0. As to initial margin of short positions, please refer to Introduction to the calculation of options margin.
|
Maintenance margin
|
The maintenance margin for long positions is 0. As to maintenance margin of short positions, please refer to Introduction to the calculation of options margin.
|
3. The isolated mode of Single/multi-currency/Portfolio margin
In isolated margin mode, the system allows users to open both long and short options positions. The isolated options positions are shown as follows:
![iii-calculation-of-option-profit-and-loss image 3](http://static.okx.com/cdn/assets/plugins/announcements/contentful/tofttmniq0qv/PmmTPFBTzapBpjfcr2QRX/4885a29f9cfa8a5bd6fa094ba013f32e/https___www.okx.com_cdn_assets_plugins_announcements_contentful_14170850266765.jpg)
Term
|
Definition
|
Total
|
The total of long positions is a positive number, and the total of short positions is a negative number.
|
Options value
|
Options value = total positions * mark price * contact multiplier * contract value
|
P&L
|
Unrealized profit or loss of current position P&L = (mark price - avg. open price) * total positions * contract multiplier * contract value
|
P&L ratio
|
P&L of long positions = (mark price – avg. open price) / avg. open price
P&L of short positions = (avg. open price - mark price) / avg. open price
|
Initial margin
|
The initial margin for long positions is 0. As to initial margin of short positions, please refer to Introduction to the calculation of options margin.
|
Maintenance margin
|
The maintenance margin for long positions is 0. As to maintenance margin of short positions, please refer to Introduction to the calculation of options margin.
|
Margin (Balance)
|
Initial margin + manually added or removed margin
|
Margin Ratio
|
Margin balance / (maintenance margin + liquidation fee)
|