Messages
{
"action": "subscribe",
"channels": [
{
"name": "tick_extra.G1.json",
"symbols": [
"HPG"
]
}
]
}{
"T": "te",
"avgPrice": 21.006,
"boardId": "G1",
"grossTradeAmount": 218.2127,
"highestPrice": 21.2,
"isin": "VN000000HPG4",
"lowestPrice": 20.9,
"marketId": "STO",
"matchPrice": 21,
"matchQtty": 50,
"multicastReceiveTime": {
"Nanos": 518530993,
"Seconds": 1787121509
},
"openPrice": 21.1,
"side": "SELL",
"symbol": "HPG",
"time": {
"Nanos": 879000000,
"Seconds": 1787121511
},
"totalVolumeTraded": 1038820,
"tradingSessionId": "40"
}Websockets
Khớp lệnh nâng cao
Gửi cập nhật khớp lệnh nâng cao theo danh sách mã chứng khoán.
WSS
/
v1
/
stream
Messages
{
"action": "subscribe",
"channels": [
{
"name": "tick_extra.G1.json",
"symbols": [
"HPG"
]
}
]
}{
"T": "te",
"avgPrice": 21.006,
"boardId": "G1",
"grossTradeAmount": 218.2127,
"highestPrice": 21.2,
"isin": "VN000000HPG4",
"lowestPrice": 20.9,
"marketId": "STO",
"matchPrice": 21,
"matchQtty": 50,
"multicastReceiveTime": {
"Nanos": 518530993,
"Seconds": 1787121509
},
"openPrice": 21.1,
"side": "SELL",
"symbol": "HPG",
"time": {
"Nanos": 879000000,
"Seconds": 1787121511
},
"totalVolumeTraded": 1038820,
"tradingSessionId": "40"
}method
type:string
GET
query
type:object
encoding
type:string
bắt buộc
Định dạng mã hóa dữ liệu WebSocket (json, msgpack).
Đăng ký luồng khớp lệnh nâng cao
type:object
Đăng ký topic tick_extra.{market_group}.{encoding}.
Cập nhật khớp lệnh nâng cao
type:object
Bản cập nhật giao dịch kèm giá bình quân và chiều giao dịch.