• Chuyển đổi ngôn ngữ và tỷ giá hối đoái
  • Cài đặt tùy chọn
    Màu sắc tăng giảm
    Thời gian bắt đầu tăng giảm
Web3 Sàn giao dịch
Gate Blog

Tin tức về tiền điện tử, điểm nóng & thông tin chi tiết của ngành blockchain

Gate.io Blog How to Calculate ROI & Possible Causes of Contract Order Failure

How to Calculate ROI & Possible Causes of Contract Order Failure

18 November 17:30



Q : let's continue studying Perpetual Contract.


A : Yes, today's topic is Possible Causes of Contract Order Failure & How to Calculate ROI.


Q : Can you tell me what the possible causes of Contract Order Failure are?


A : Some contract users may encounter failure when trying to open or close a position. The following causes are usually responsible for the failure of placing an order:


Opening a position:


1.Check if there is sufficient balance in your contract account, if there isn't, you will be notified "Transfer fund first". This can be solved by reducing the number of positions, increasing leverage or transferring funds.


2.The contract dictates the number of entries in the order book to be between 1 and 1,000,000, and the amount of currency to be in the corresponding range.


3."Reduce Only" is selected under "Conditional Order" when there is no positions left. Failure occurs to avoid scaling in.


4.Stop price exceeds the maximum tolerable deviation ratio of the set stop price.


5.When the Liquidation Price exceeds the newest Mark Price. Liquidation will be triggered right after the position is opened.


Closing a position:


1.No margin is needed for closing a position. However, margin is required when you have a "close on trigger" order and want to submit another "Take-Profit Stop-Loss" order or another "close on trigger" order. When there is no sufficient balance left in the account to cover the margin, failure to place an order will occur.


2.In the scenario described in the previous point, if a "close on trigger" order is filled, the position is then closed. The other closing order ("Take-Profit Stop-Loss" or other), due to its "Reduce Only" setting, is going to fail to avoid scaling in.


3.Stop price exceeds bankruptcy price.


A : That's all for the Possible Causes of Contract Order Failure.


Q : How to Calculate ROI


Return on Investment (ROI) refers to a ratio that compares the PNL of a position from a contract investment relative to its cost, in other words, a ratio that suggests an investment's profitability. ROI is one of the key metrics in evaluating the potential return from an investment.


ROI produces an approximate measure of the profitability of a given contract investment based on the calculated results, which can help investors evaluate their investment, learn more about their profits and losses, and optimize asset allocation.


ROI Calculation Formula:


ROI = Unrealized PNL/Margin*100%


Note: In Cross Margin Mode, the margin is the entire available balance in the trader's contract account. But when calculating ROI, use the minimum margin displayed on the webpage. Use the actual margin in the calculation when in Isolated Margin Mode.


Example:




As the screenshot above shows, the unrealized PNL of this position is 1USDT and the margin is 99.43USDT.


Therefore, the ROI of this position is:


ROI = Unrealized PNL/Margin*100%


ROI =1/99.43*100%


ROI ≈ 1%


A : Let's go to a question session


Mở hộp quà may mắn của bạn và nhận phần thưởng $6666
Đăng ký ngay
Nhận ngay 20 Point
Dành riêng cho người dùng mới: hoàn thành 2 bước để nhận Point ngay lập tức!

🔑 Đăng ký tài khoản với Gate.io

👨‍💼 Hoàn thành KYC trong vòng 24 giờ

🎁 Nhận phần thưởng Point

Yêu cầu ngay
ngôn ngữ và khu vực
tỷ giá hối đoái
Tới Gate.TR?
Gate.TR hiện đang trực tuyến.
Bạn có thể nhấp và truy cập Gate.TR hoặc ở lại Gate.io.