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

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

⚠️

Case Sensitivity

Exchange names are case-sensitive. Always use uppercase for exchange names (e.g., BINANCE, not binance).

💡

Symbol Format Variations

Different exchanges use different separators: hyphens (-), underscores (_), colons (:), or no separator at all. Always check the format for your specific exchange.

🎯

Data Availability

Not all data types are available for every exchange and symbol combination. If there's an exchange, symbol or data source you'd like us to support, feel free to request it on our Discord community!

📅

Futures and Options Format

For dated futures and options, use the format specified by the exchange. For example, YYMMDD represents the year, month, and day of expiry.

📖
Introduction
Overview of kScript language
🔍
Overview
Complete technical documentation
🚀
Quick Start
Get started with kScript basics
📋
Function Reference
Complete API reference guide
📚
Type System
Understanding kScript data types
General FAQ
Frequently asked questions about kScript
Best Practices
Guidelines for writing efficient kScript code
⚠️
Limitations
Known constraints and workarounds
🌐
Exchange & Symbol Format
List of supported exchanges and symbol formats
🆕
Updates
v1 vs v2 differences and improvements
🔧
Variables
Core variables and data handling
📊
Data Sources
Subscribe to OHLCV, trades, and orderbook data
⚙️
Execution Model
Per-bar execution lifecycle and phases
🏷️
Keyword Arguments
Named parameters for clear function calls
🛠️
User-Defined Functions
Create custom reusable functions
🔗
Script Definition
Defining inputs and metadata
🎯
Utility Functions
Helper functions and calculations
📈
Moving Averages
SMA, EMA and trend-following indicators
📊
Oscillators
RSI, Stochastic and momentum indicators
📈
Trend Indicators
Trend direction and strength analysis
📉
Volume Indicators
Volume-based analysis tools
📦
Orderbook Functions
Market depth analysis tools
🎨
Plotting & Visualization
Chart rendering and styling
🌈
Color Functions
Color manipulation and styling
🔄
Loops
For loops and while loops for iteration
🧮
Math Functions
Mathematical functions and constants
📝
String Functions
String manipulation and transformation
🏠
Go Home
Return to main landing page