Permanent contracts and storage issues

Author: Godless, Created: 2022-10-01 17:01:21, Updated:

How do you get and design a long-term holding contract to raise funds for a hedge fund?


More

The Little DreamHello, is it to get the funding rate, the funding generated?

The Little DreamI'm not being polite, thank you for supporting FMZ Quantity.

GodlessThank you.

The Little DreamWhat's up? function main (()) { // https://fx-api.gateio.ws/api/v4/futures/funding_rate?contract = BTC_USD // /api/swap/v3/instruments/BTC-USD-SWAP/historical_funding_rate? from=1&limit=2 What do you mean? var gate_io_rate Url = "https://fx-api.gateio.ws/api/v4/futures/funding_rate?contract=" + _GateIO_CurrencyPair // BTC_USD" The exchange rate is the rate at which the exchange rate of a currency is converted into a currency pair. What do you mean? while ((1) { var strGate_io_rate = HttpQuery ((gate_io_rateUrl, null, null, "Accept: application/json") is a command to use the URL of the application. var strOKEX_rate = HttpQuery ((okex_rateUrl)) // Log (("strGate_io_rate:", strGate_io_rate) " is used // Log (("strOKEX_rate:", strOKEX_rate) is the name of the What do you mean? var jsonGate_rate var jsonOKEX_rate is the Try JsonGate_rate = JSON.parse ((strGate_io_rate) is the rate at which the JSON data is processed. JsonOKEX_rate = JSON.parse ((strOKEX_rate) is the rate at which the JSON is parsed. I'm going to catch you. Log ((e)) I'm not going anywhere. What do you mean? Log (("GATE.IO", jsonGate_rate[0]) Log (("OKEX", jsonOKEX_rate[0]) What do you mean? Sleep ((500) is a I'm not going anywhere. I'm not going anywhere. What's up? The V3 interface of OKX is currently disabled, and you can consult the OKX API documentation for specific exchange rate interfaces to change the request address from https://www.okex.me/api/swap/v3/instruments to the current exchange V5.

GodlessCan you give me an example of an fmz OK that doesn't use the original API of the exchange?

The Little DreamYou can calculate the fee using the Exchange Fee Interface.

GodlessIt's a scenario where, for example, four currencies, after opening a trade, reach a certain profit or stop-loss point of equilibrium, which is sustained for a few days, if this capital fee is not calculated, the profit or stop-loss point will not be correct.