Trade

Trading Guide

How to trade?

How to enter a long/short position?

Then there you go - the pool will establish your position. That is, the pool will mint an ERC721 token to your address, which is how your position exists on the Ethereum blockchain. If you would like to add some position in the same direction, simply repeat the steps above, except you don't need deposit margin if you have sufficient balance in your position.

How to close a position?

Let's assume you have a long position of 10 contracts, if you would like to partially or completely close the position, simply short the number of contracts (no more than 10) you would like to close as if you were entering the opposite position. Likewise for closing a short position.

A complete closure of the position can be done by clicking the "CLOSE POSITION" button on the "MY POSITION" tab.

When you partially or completely close a position, the part of the unrealized PnL associated with the part of the closed position will become realized - the pool will automatically apply that to your balance (i.e. add or subtract base tokens from your balance).

Please note that even if you completely close your position, your balance will NOT be automatically refunded to your wallet address. To have your balance refunded, simply WITHDRAW your balance. Also please note that when you close your position and withdraw your fund, the position token (the DPT ERC721) in your wallet will become empty but stay. Next time when you open a position, the same position token will be used.

What do I have after placing an order?

When you successfully place an order, you have a PToken minted to your address on the blockchain (Ethereum, BSC, or HECO). PToken (P for position) is a non-fungible token (NFT) containing your position information: direction&volume, cost, your margin, cumulative funding rate at the minting block.

The PToken is how your position exists on the blockchain. You can send it to another address just like you send any NFT or fungible token (e.g. ERC20 token). That is, PToken is a tokenized position. Or, from a financial perspective, it's a tokenized risk exposure.

What is funding fee?

To balance the two sides of long and short positions, the pool will always apply a funding fee to the majority side. However, the algorithms of funding fees for Deri V1 and V2 are slightly different. Funding Fee of V1 For each ETH block, assuming the total number of contracts in a long position is L while that in a short position is S. Then every single long contract will pay a funding fee = FundingRate, per the following formula. Whereas every single short contract will receive a funding fee = FundingRate. FundingRate = r*NetPositionContractValue/PoolLiquidity =r*(L-S)*CurrentPrice*Multiplier/PoolLiquidity where r is the funding rate coefficient Please note that when L>S, FundingRate is positive (meaning long positions pay short positions), whereas when L<S, FundingRate is negative (short positions pay long positions). Funding Fee of V2 For each ETH block, assuming the total number of contracts in a long position is L while that in a short position is S. Then every single long contract will pay a funding fee = FundingRate*ContractValue, per the following formula. Whereas every single short contract will receive a funding fee = FundingRate*ContractValue. FundingRate = r*NetPositionContractValue/PoolLiquidity =r*(L-S)*CurrentPrice*Multiplier/PoolLiquidity where r is the funding rate coefficient, and ContractValue is ContractValue = CurrentPrice * Multiplier Please note that when L>S, FundingRate is positive (meaning long positions pay short positions), whereas when L<S, FundingRate is negative (short positions pay long positions). And please note the r of V2 is of a different dimension from that of V1.

Risk Warning

Trading Margins & Contracts on Deri Protocol includes but is not limited to - a high level of risk, and may not be suitable for all kinds of investors. The enormous degree of leverage can work in favor of you as well as against you. Before making the decision to invest using Deri Protocol, you should carefully consider your level of experience, investment objectives and risk appetite. There is a possibility that you may lose part of your investment or all of your initial investment. You should be aware of all the risks associated with trading contracts and margin. Deri Protocol will not be responsible for any losses, damages or claims arising from events falling within the scope of the events mentioned above. We urgently advise you not to invest money that you cannot afford to lose and we also recommend you to seek advice from an independent financial adviser, If you have any questions or doubts!