Tiger API
π―© What is Tiger API
Tiger API is a local WebSocket server embedded in the Tiger.com Windows terminal that allows external systems (e.g., screeners) to control the interface of the terminal.
π Main Purpose
The setLinkSymbol command instantly opens the specified symbol (e.g., BTCUSDT) in the specified link group (e.g., A) inside the terminal.
βοΈ How to Enable Tiger API in the Terminal
Go to:
Settings β Local Signal ServerEnable the option:
Enable Signal ServerPress
SaveDefault WebSocket port:
7819
π‘ WebSocket Request Format
{
"type": "setLinkSymbol",
"e": "BINANCE", // Exchange
"m": "SPOT", // Market type: SPOT or FUTURES
"symbol": "BTCUSDT", // Trading pair
"linkGroup": "A" // Link group: Aβ11
}All fields are required
Case-insensitive
Response normalizes values (e.g.,
Spot,Futures)
β
Example of a Successful Response
β Error Examples
1. Invalid Command Type
Result: error + connection is closed (code: 400, WebSocket 1007)
2. Invalid JSON Format
Result: error + connection_close
3. Validation Errors (do not close WS connection)
Empty fields
Unknown
symbolInvalid
linkGroup(e.g.,AX)
π’ Ping/Pong Support
1. Text-based:
2. JSON-based:
π Reference Tables
Exchanges (e):
e):BINANCE, BINANCE-FUT, BYBIT, OKX, MEXC, BITMEX, Bitfinex, Gate.io, Bitget, TigerX
Market Types (m):
m):SPOT, FUTURES
Link Groups (linkGroup):
linkGroup):Letters
AβZ(e.g., A =#FFF9C4)Digits
0β11(e.g., 0 =#FFAA00)
π Error Handling Table
Invalid JSON
400
WS closed (1007)
Validation errors
400
WS remains open
π Recommendations for Clients
Always validate JSON locally before sending
On parsing errors β reconnect using exponential backoff
Send regular
pingmessages to keep the connection alive
Last updated