Difference between Exchange API and FMZ API

Author: I know., Created: 2021-09-09 12:32:07, Updated:

I'm using OKex, which has its own API, for example:exchange.IO("api", GET, /api/v5/account/max-avail-size?instId=BTC-USDT&tdMode=cross&ccy=USDT) can get the number of contracts, and can also be calculated using FMZ's API: exchange.GetAccount. Is it possible to access other exchanges using only the FMZ, but only the Okex?

Please answer, thank you. PS: As if I couldn't find the help question I mentioned earlier quickly, I'm looking for a page, and I'm wondering if there's a way to get help.


More

I know.Hey, I see, I also wanted to ask, is it possible to use the analogue disk provided by the exchange? For example, OKEX's analogue disk, but his API documentation says to add "x-simulated-trading: 1" in the header of the request for the "analogue disk". Is it possible? For example: Content-Type: application/json This is a list of all the different ways json is credited in the database. OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418 This is the first time I've seen this OK-ACCESS-SIGN: leaVRETrtaoEQ3yI9qEtI1CZ82ikZ4xSG5Kj8gnl3uw= This is a list of all the different ways LEVRETrtao is credited in the database. OK-ACCESS-PASSPHRASE: 1****6 This is the first time I've seen this. This is the first time I've seen this video in a while. x-simulated-trading: 1

The Little Dream```exchange.IO ``` is also available on FMZ. exchange.GetAccount is actually a layer wrapped on top of exchange.IO. The underlying code is the same. You can understand that exchange.IO is wrapped for the most part, leaving parameters that the user needs to fill in, such as filling in the specific interface paths, parameters, etc. to access the exchange, and returning the data structure, the format is the original data returned by the exchange interface unwrapped. GetAccount (((((((((((((((((((((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

I know.Thank you.

The bone knife exchange.IO("simulate", true);