Margin Trading
Margin trades are opened on the loan token contracts and closed on the Sovryn Protocol.
In order to enter a trade, call marginTrade
on the respective iToken contract. Let's say you want to trade RBTC against XUSD. You enter a BTC long position by sending either of these currencies to the iXUSD contract and a short position by sending either of them to the iRBTC contract. The process is depicted below.

Last updated