Trade position tokens
How long and short position tokens are traded in the DIVA App
Position tokens issued by the DIVA Protocol are ERC20 tokens and can be integrated into any DEX and CEX for trading.
To faciliate the exchange of long and short tokens, the DIVA App offers a trading interface built on 0x protocol, a decentralized offchain orderbook with an onchain settlement model. We believe that a traditional orderbook approach is more suitable for trading derivative assets than existing AMMs as it gives market makers maximum flexibility to capture all dimensions relevant for the valuation of derivatives.
The short and long position tokens issued against a contingent pool are two independent assets that show up as two separate lines on the MARKETS page. As a result, there is one orderbook for the short and one for the long position token. Similar to traditional exchanges, users can create buy and sell orders or fill existing orders in the orderbook. DIVA App will implement a novel orderbook design to make it easier for users to navigate and find the prices at which they can trade. Terms like BID and ASK belong to the past.
0x is a protocol that facilitates the peer-to-peer exchange of Ethereum-based assets without giving up custody of the assets. The protocol serves as an open standard and common building block for any developer needing exchange functionality.