5.8. Cung cầu theo tháng

GET/nyx/v1/intraday/{ticker}/bsa-month
Lấy dữ liệu cung cầu theo tháng của một mã chứng khoán.

Header

TênKiểuBắt buộcMô tả
AuthorizationstringBearer <access token>.
Content-Typestringapplication/json.

Path variable

TênKiểuBắt buộcMô tả
tickerstringMã cổ phiếu, ví dụ TCB.

Request parameter

TênKiểuBắt buộcMô tả
timeWindowstringKhung thời gian: 1M.
typeenumLoại NĐT: sheep (cá nhân nhỏ lẻ), wolf (tổ chức vừa), shark (tổ chức lớn), all (tất cả, mặc định).
GET /nyx/v1/intraday/TCB/bsa-month?timeWindow=1M&type=all
curl "https://openapi.tcbs.com.vn/nyx/v1/intraday/TCB/bsa-month?timeWindow=1M&type=all" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json"

Response

TênKiểuBắt buộcMô tả
tickerstringMã cổ phiếu.
data[].bupnumberTỷ lệ % mua tích cực.
data[].sdpnumberTỷ lệ % bán tiêu cực.
data[].bsrnumberTỷ lệ mua/bán.
data[].tstringThời gian (DD/MM).
{
  "ticker": "TCB",
  "data": [
    {
      "bup": 0.65,
      "sdp": 0.35,
      "bsr": 1.25,
      "t": "07/05"
    }
  ]
}