Hello, I'm working on the inverse inverse capital ratio, which requires selling emerging goods and making more permanent contracts.
Thank you.
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.
Inventors quantify - small dreamsFutures (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.
Inventors quantify - small dreamsI'm not being polite.
churchillxyI know. Thank you.
Inventors quantify - small dreamsSpot 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.
Inventors quantify - small dreamsIt is possible to switch to a leveraged mode without the concept of holdings.
churchillxyI understand, for spot leverage trading? Please ask how to operate