产品亮点与优势
Highlights And Advantages
涵盖所有金融产品
Covers All Financial Products
Crypto coins, forex, commodity futures, Chinese Shanghai, Shenzhen and Beijing stocks (including company fundamentals and other information), Hong Kong stocks (coming soon), US stocks (coming soon)
高性能推送服务
High-performance Push Service
Millisecond-level websocket pushes the latest price, and supports historical market query in minutes, hours, days, and weeks
多种交付方式
Multiple Delivery Methods
Support MetaTrade4 data source, Tradingview web page integration; Turn-key solution for forex, stock, crypto coin, futures, binary options trading system
Request URL
wss://financeapi.skjpt.com:8443
Login
You need to log in before subscribing to the data.
graph LR; A("Subscribe:{'event':'login','data':{'token':'xxx'}}")-->B("Response:{'event':'login','data':'success'}");
Minute Candle Chart
Candle chart format,channel=product ID.
graph TB; A("Subscribe:{'event':'subscribe.kline1min', 'data':{'market':'OP','channel':'btcusdt'}}")-->B("Response:{'event':'kline1min', 'data':{'id':1634135940,'open':55613.69,'close':55613.69,'low':55613.69,'high':55613.69,'amount':0.012949,'vol':720.14167181,'count':1}}")
Top 10 Market Depth Data
Data corresponding to price and volume.
graph TB; A("Subscribe:{'event':'subscribe.depth','data':{'market':'OP','channel':'btcusdt'}}")-->B("Response:{'event':'depth','data':
{'bids':[[55741.93,0.115543],[55738.99,0.0002],[55734.88,0.1],[55732.77,0.001],[55732.5,0.043308],[55731.54,0.002263],[55728.68,0.4],[55728.01,0.008],[55728,0.02691],[55726.48,0.021081]],
'asks':[[55741.94,0.732718],[55741.95,0.004283],[55741.99,0.0002],[55744.16,0.2],[55745.33,0.0025],[55746.94,0.095016],[55747.19,0.2],[55749.31,0.001895],[55749.35,0.015],[55750.01,0.2]]}}")
{'bids':[[55741.93,0.115543],[55738.99,0.0002],[55734.88,0.1],[55732.77,0.001],[55732.5,0.043308],[55731.54,0.002263],[55728.68,0.4],[55728.01,0.008],[55728,0.02691],[55726.48,0.021081]],
'asks':[[55741.94,0.732718],[55741.95,0.004283],[55741.99,0.0002],[55744.16,0.2],[55745.33,0.0025],[55746.94,0.095016],[55747.19,0.2],[55749.31,0.001895],[55749.35,0.015],[55750.01,0.2]]}}")
Tick Data
Latest price.
graph TB; A("Subscribe:{'event':'subscribe','data':{'market':'OP','channel':'btcusdt'}}")-->B("Response:{'event':'tick','data':{'price':'55730.75','name':'btcusdt'}}")
Request Parameters
GET https://financeapi.skjpt.com/history
Parameter | Type | Description | Required |
---|---|---|---|
symbol | string | Product ID | Required |
resolution | string | Time,1:1min;5:5min;15:15min;30:30min;60:60min;240:240min;1D:1day;1W:1week;1M:4week | Required |
to | to | Timestamp, returning 2000 bars, 'to' is the last timestamp requested. | Required |
token | string | Token | Required |
Response Parameters
Parameter | Type | Description | Required |
---|---|---|---|
t | string | Timestamp | Required |
c | string | Close price | Required |
o | string | Open price | Required |
h | string | High price | Required |
l | string | Low price | Required |
v | string | Volume of trading | Required |
Response Example
Copy
Commodity Futures
oil-sep23|hgcop-sep23|ngas-sep23|wheat-sep23
Precious Metals
gold|silver
Stock Index
us500cash|us100cash|eu50cash|jp225cash|hk50cash
Crypto Coins
btcusdt|ethusdt|xrpusdt|bchusdt|ltcusdt|eosusdt
Forex Currency
usdhkd|usdcnh|usdjpy|usdcad|usdchf|audusd|eurusd|gbpusd|eurcad|gbpcad|eurchf|eurgbp|eurjpy|gbpaud|gbpchf|gbpjpy|euraud