Chuyển tới nội dung chính

Giao dịch ngành thị trường

API trả về dữ liệu giao dịch của các ngành, bao gồm giá trị giao dịch tăng, giảm, và đứng giá.

HTTP request

  • URL: /api/historical/v1/partner/market/industry/transactions
  • Method: GET
  • Content Type: application/json
  • Response Type: application/json

Tham số header

HeaderMô tảKiểu dữ liệuBắt buộc
X-Api-KeyKhóa duy nhất.string

Phản Hồi (Response)

Response Mẫu

{
"status": 200,
"message": "Success",
"data": [
{
"bcEconomicSectorId": 1,
"bcEconomicSectorName": "Năng lượng",
"pctChange": -0.2,
"advancesValue": 211114918000,
"unChangeValue": 210158392700,
"declinesValue": 570375237000
},
{
"bcEconomicSectorId": 2,
"bcEconomicSectorName": "Nguyên vật liệu",
"pctChange": 0.84,
"advancesValue": 2632654995000,
"unChangeValue": 305119925000,
"declinesValue": 354763179000
},
{
"bcEconomicSectorId": 3,
"bcEconomicSectorName": "Công nghiệp",
"pctChange": 1.39,
"advancesValue": 5754261603000,
"unChangeValue": 61905315000,
"declinesValue": 656319882000
},
{
"bcEconomicSectorId": 4,
"bcEconomicSectorName": "Hàng hóa không thiết yếu",
"pctChange": 0.61,
"advancesValue": 1572828174000,
"unChangeValue": 41412220000,
"declinesValue": 556647656000
},
{
"bcEconomicSectorId": 5,
"bcEconomicSectorName": "Hàng hóa thiết yếu",
"pctChange": 0.09,
"advancesValue": 1794274320000,
"unChangeValue": 66373341000,
"declinesValue": 1502810368000
},
{
"bcEconomicSectorId": 6,
"bcEconomicSectorName": "Tài chính",
"pctChange": 0.85,
"advancesValue": 14151148336000,
"unChangeValue": 1658973216000,
"declinesValue": 1143869865000
},
{
"bcEconomicSectorId": 7,
"bcEconomicSectorName": "Chăm sóc sức khỏe",
"pctChange": 0.02,
"advancesValue": 13548488000,
"unChangeValue": 12592505000,
"declinesValue": 22664910000
},
{
"bcEconomicSectorId": 8,
"bcEconomicSectorName": "Công nghệ",
"pctChange": 1.02,
"advancesValue": 229625810000,
"unChangeValue": 3763745000,
"declinesValue": 676394845000
},
{
"bcEconomicSectorId": 9,
"bcEconomicSectorName": "Tiện ích",
"pctChange": 0.58,
"advancesValue": 393989020000,
"unChangeValue": 1074780000,
"declinesValue": 82248445000
},
{
"bcEconomicSectorId": 10,
"bcEconomicSectorName": "Bất động sản",
"pctChange": 0.58,
"advancesValue": 4438485917000,
"unChangeValue": 160405903000,
"declinesValue": 942327415000
},
{
"bcEconomicSectorId": 13,
"bcEconomicSectorName": "Dịch vụ Học thuật và Giáo dục",
"pctChange": 0,
"advancesValue": 0,
"unChangeValue": 0,
"declinesValue": 0
}
]
}

Chi Tiết Tham Số Response

Tên Thuộc TínhKiểu Dữ LiệuMô Tả
statusnumberMã trạng thái HTTP
messagestringThông báo kết quả xử lý
dataarray (Xem chi tiết)Danh sách giao dịch ngành

Cấu trúc thuộc tính data

Quay lại
Tên Thuộc TínhKiểu Dữ LiệuMô Tả
bcEconomicSectorIdnumberID ngành kinh tế
bcEconomicSectorNamestringTên ngành kinh tế
pctChangenumber% Thay đổi giá trung bình ngành
advancesValuenumberTổng giá trị giao dịch cổ phiếu tăng (VNĐ)
unChangeValuenumberTổng giá trị giao dịch cổ phiếu đứng giá (VNĐ)
declinesValuenumberTổng giá trị giao dịch cổ phiếu giảm (VNĐ)

CREDENTIALS

RESPONSE200

{
"status": 200,
"message": "Success",
"data": [
{
"bcEconomicSectorId": 1,
"bcEconomicSectorName": "Năng lượng",
"pctChange": -0.2,
"advancesValue": 211114918000,
"unChangeValue": 210158392700,
"declinesValue": 570375237000
},
{
"bcEconomicSectorId": 2,
"bcEconomicSectorName": "Nguyên vật liệu",
"pctChange": 0.84,
"advancesValue": 2632654995000,
"unChangeValue": 305119925000,
"declinesValue": 354763179000
},
{
"bcEconomicSectorId": 3,
"bcEconomicSectorName": "Công nghiệp",
"pctChange": 1.39,
"advancesValue": 5754261603000,
"unChangeValue": 61905315000,
"declinesValue": 656319882000
},
{
"bcEconomicSectorId": 4,
"bcEconomicSectorName": "Hàng hóa không thiết yếu",
"pctChange": 0.61,
"advancesValue": 1572828174000,
"unChangeValue": 41412220000,
"declinesValue": 556647656000
},
{
"bcEconomicSectorId": 5,
"bcEconomicSectorName": "Hàng hóa thiết yếu",
"pctChange": 0.09,
"advancesValue": 1794274320000,
"unChangeValue": 66373341000,
"declinesValue": 1502810368000
},
{
"bcEconomicSectorId": 6,
"bcEconomicSectorName": "Tài chính",
"pctChange": 0.85,
"advancesValue": 14151148336000,
"unChangeValue": 1658973216000,
"declinesValue": 1143869865000
},
{
"bcEconomicSectorId": 7,
"bcEconomicSectorName": "Chăm sóc sức khỏe",
"pctChange": 0.02,
"advancesValue": 13548488000,
"unChangeValue": 12592505000,
"declinesValue": 22664910000
},
{
"bcEconomicSectorId": 8,
"bcEconomicSectorName": "Công nghệ",
"pctChange": 1.02,
"advancesValue": 229625810000,
"unChangeValue": 3763745000,
"declinesValue": 676394845000
},
{
"bcEconomicSectorId": 9,
"bcEconomicSectorName": "Tiện ích",
"pctChange": 0.58,
"advancesValue": 393989020000,
"unChangeValue": 1074780000,
"declinesValue": 82248445000
},
{
"bcEconomicSectorId": 10,
"bcEconomicSectorName": "Bất động sản",
"pctChange": 0.58,
"advancesValue": 4438485917000,
"unChangeValue": 160405903000,
"declinesValue": 942327415000
},
{
"bcEconomicSectorId": 13,
"bcEconomicSectorName": "Dịch vụ Học thuật và Giáo dục",
"pctChange": 0,
"advancesValue": 0,
"unChangeValue": 0,
"declinesValue": 0
}
]
}