Crypto
-
Futures_Binance
Binance trading pairs with Chinese names are supported:javascriptfunction main() { let ticker = exchange.GetTicker("币安人生_USDT.swap") Log("ticker:", ticker) // {"Info":{...},"Symbol":"币安人生_USDT.swap","Open":0.29622,"High":0.31661, ...} }For the
exchange.IO()switches of Binance Futures (dual-side position mode, isolated/cross margin, unified account, STP mode, etc.), seeexchange.IO. -
Futures_HuobiDM
Useexchange.IO("base", "https://xxx.xxx.xxx")orexchange.SetBase("https://xxx.xxx.xxx")to switch the base address of the exchange API.For the
exchange.IO()switches of Huobi Futures (signHost, isolated/cross margin, one-way/two-way position mode, unified account, etc.), seeexchange.IO.Condition orders of the OCO type (
ORDER_CONDITION_TYPE_OCO) are not supported; condition orders also work in multi-asset margin mode. -
Huobi
Huobi trading pairs with Chinese names are supported:javascriptfunction main() { let ticker = exchange.GetTicker("币安人生_USDT") Log("ticker:", ticker) // {"Info":{...},"Symbol":"币安人生_USDT","Open":0.29622,"High":0.31661, ...} } -
Bitfinex
The amount of a spot market buy order is the quantity of the traded coin, not the quote amount. -
AscendEx
The amount of a spot market buy order is the quantity of the traded coin, not the quote amount. -
Futures_Hyperliquid
See the Hyperliquid guide.For the
exchange.IO()switches of Hyperliquid Futures (isolated/cross margin, mainnet/testnet, vaultAddress, walletAddress, expiresAfter, etc.), seeexchange.IO. -
Futures_Lighter
The test environment can be selected when configuring the exchange object, or reached by changing the REST API endpoint withexchange.SetBase().For the
exchange.IO()switches of Futures_Lighter (isolated/cross margin, order expiry, etc.), seeexchange.IO.BuyandSellreturned byexchange.GetTickers()are each instrument's last trade price (the exchange has no batch order book endpoint); useexchange.GetTicker()orexchange.GetDepth()when you need the best bid and ask. -
Futures_edgeX
All edgeX perpetuals are quoted in USDC: write the trading pair asBTC_USDCand so on, with full symbols such asBTC_USDC.swap;BTC_USDTorBTC_USDis reported as a contract that does not exist. -
Poloniex
Spot condition orders support stop-loss only (ORDER_CONDITION_TYPE_SL): a buy triggers when the price rises to the trigger price, a sell when it falls to the trigger price. Take-profit (ORDER_CONDITION_TYPE_TP) and OCO condition orders return an error and no order is placed.