Skip to main content

K-Lines (1 minute)

K-Lines

ResumeNo: -1 means the latest record,-30 means the latest 30 historical records.

Request

{
"SendTopicAction": {
"Action": "1",
"FilterValue": "DeepCoin_BTCUSDT_1m",
"LocalNo": 6,
"ResumeNo": -1,
"TopicID": "11"
}
}

Response Parameters

Field NameTypeExampleDescription
InstrumentIDstring"BTCUSDT"Instrument ID
PeriodIDstring1mPeriod
BeginTimeint1691992620Begin time
OpenPricefloat29437.2Open price
ClosePricefloat29437.2Close price
HighestPricefloat29437.2The highest price
LowestPricefloat29437.2The lowest price
Volumefloat2554Volume
Turnoverfloat75182.5694Turnover
TimeZoneint57600Time zone
UpdateTimeint1691992641DB Update time

Response Example

{
"action": "PushKLine",
"localNo": 6,
"index": "DeepCoin_BTCUSDT_1m",
"seq": 325303,
"bNo": 1,
"changeType": "3",
"result": [
{
"table": "LastKLine",
"data": {
"ExchangeID": "DeepCoin",
"InstrumentID": "BTCUSDT",
"PeriodID": "1m",
"BeginTime": 1691992620,
"OpenPrice": 29437.2,
"ClosePrice": 29437.2,
"HighestPrice": 29437.2,
"LowestPrice": 29437.1,
"Volume": 2554.0,
"Turnover": 75182.5694,
"TimeZone": 57600,
"UpdateTime": 1691992641
}
}
]
}