Please tell me about the sale of reverse mortgage rates.

Author: churchillxy, Created: 2022-08-05 21:39:00, Updated: 2022-08-06 11:10:20

Hello, I'm working on the inverse inverse capital ratio, which requires selling emerging goods and making more permanent contracts.

  1. I'm a USDT native, using the OKEX exchange as an example, is it possible to sell through leveraged trading or do you need to borrow coins first and then sell?
  2. How can this be done on FMZ?如果用exchange.IO("trade_margin"), how to set the leverage multiplier, and how to get holdings in USDT

Thank you.


More

Little white cabbageIf you do not hold cash, you need to borrow from the cash sale, there will be interest on the loan; if you hold cash, it depends on whether you hold a coin or a short-term transaction. If you hold a coin, you can sell your cash, without borrowing interest.

Little white cabbageIn contrast to the interest rate, the cost of selling a commodity to buy a commodity is a permanent contract. In the OKX exchange, if you hold cash, you can sell it directly, or if you don't have cash, you need to borrow money (borrow money from the exchange) to sell the commodity, and then pay interest on the borrowed money. Each currency has a different borrowing difficulty and a different borrowing interest, so you need to factor in the borrowing interest when you end up with a return.

The Little DreamFutures (contract) and spot exchanges are distinct. This is not to be confused. Specifically, to make a futures contract, you add OKX futures, and to make a spot, you add OKX spot. Futures contracts are leveraged using the SetMarginLevel function and the GetPosition function, which are available in the FMZ API documentation. The transaction pair is set to XXX_USDT, and then the SetContractType function sets the contract, which is a U-bit contract. The trading pair is set to XXX_USD, which is a spot contract.

churchillxyThank you very much.

The Little DreamI'm not being polite.

churchillxyI know. Thank you.

The Little DreamSpot leverage, which can only be accessed directly via exchange.IO. Set Margin Level is for futures. GetAccount is the access to the current cash leverage account balance. The rest can only be accessed using exchange.IO to specifically query the exchange interface.

churchillxyOh, that's right. Do you want to borrow USDT first, sell it again, or do you want to leverage USDT as collateral?

churchillxyHow do I set up a hedge, get a holding, a Usdt guarantee after switching to a hedge mode? I tried several times, without success.

The Little DreamIt is possible to switch to a leveraged mode without the concept of holdings.

churchillxyI understand, for spot leverage trading? Please ask how to operate