FAQ

Exchange & Symbol Format

Complete list of supported exchanges and their symbol format syntax for use in kScript.

Reference 3 min read

Exchange Symbol Formats

When using data source functions like ohlcv() or source(), you need to specify the symbol in the correct format for each exchange. Below is a comprehensive list of all supported exchanges and their respective symbol formats.

Example Usage

Multi-Exchange Comparison
//@version=2
define(title="Multi-Exchange Comparison", position="offchart", axis=true);

// Binance Spot (no separator)
timeseries binanceSpot = ohlcv(symbol="BTCUSDT", exchange="BINANCE");

// Binance Futures (no separator)
timeseries binanceFutures = ohlcv(symbol="BTCUSDT", exchange="BINANCE_FUTURES");

// Coinbase (uses hyphen)
timeseries coinbase = ohlcv(symbol="BTC-USD", exchange="COINBASE");

// Plot comparison
plotLine(value=binanceSpot.close, width=2, colors=["#F3BA2F"], label=["Binance Spot"], desc=["BTCUSDT on Binance Spot"]);
plotLine(value=binanceFutures.close, width=2, colors=["#FF6B35"], label=["Binance Futures"], desc=["BTCUSDT on Binance Futures"]);
plotLine(value=coinbase.close, width=2, colors=["#0052FF"], label=["Coinbase"], desc=["BTC-USD on Coinbase"]);

Exchange Reference Table

ExchangeCategorySymbol FormatExample
BINANCESPOTBTCUSDTBitcoin to Tether (Spot)
BINANCE_FUTURESPERPETUALBTCUSDTBTC/USDT Perpetual
BITFINEXSPOTBTCUST or BTC:USDBitcoin to USD (Spot)
BITFINEX_DERIVATIVESPERPETUALBTCF0:USTF0BTC Perpetual
BITMEXPERPETUALXBTUSDBitcoin to USD
BITSTAMPSPOTBTCUSDBitcoin to USD (Spot)
BYBITPERPETUALBTCUSDTBTC/USDT Perpetual
BYBIT_SPOTSPOTBTCUSDTBitcoin to USDT (Spot)
COINBASESPOTBTC-USDBitcoin to USD (Spot)
DERIBITSPOTBTC_USDTBitcoin to USDT (Spot)
DERIBITPERPETUALBTC-PERPETUALBTC/USD Perpetual
DERIBITPERPETUALBTC_USDC-PERPETUALBTC/USDC Perpetual
GATE_IOSPOTBTC_USDCBitcoin to USDC (Spot)
GATE_IO_FUTURESPERPETUALBTC_USDTBTC/USDT Perpetual
HYPERLIQUIDSPOTHYPE-USDCHYPE to USDC (Spot)
HYPERLIQUID_FUTURESPERPETUALBTCBTC Perpetual
OKEXSPOTBTC-USDTBitcoin to USDT (Spot)
OKEX_FUTURESFUTUREBTC-USDT-251226BTC Future (Dec 26, 2025)
OKEX_SWAPPERPETUALBTC-USDT-SWAPBTC/USDT Perpetual Swap
OKEX_OPTIONSOPTIONBTC-USD-YYMMDD-STRIKE-C/PBTC Option (Call/Put)
UPBITSPOTKRW-USDTKorean Won to USDT

Important Notes