---
title: "Lấy giá quá khứ của Mã chứng khoán"
method: GET
path: "/symbols/{symbol}/historical-quotes"
tags: ["Symbols"]
---

# Lấy giá quá khứ của Mã chứng khoán

`GET /symbols/{symbol}/historical-quotes`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/symbols/{symbol}/historical-quotes`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `symbols-read`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/symbols/:symbol/historical-quotes/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `symbol` string, required

## Query parameters

- `startDate` string, date-time, required
- `endDate` string, date-time, required
- `offset` integer
- `limit` integer

## Response `200`

Thành công

- FireAntApiModelsQuoteHistoricalQuote[]
  - `date` string, date-time: Ngày giao dịch
  - `symbol` string: Mã chứng khoán
  - `priceHigh` number, double: Giá cao nhất
  - `priceLow` number, double: Giá thấp nhất
  - `priceOpen` number, double: Giá mở cửa
  - `priceAverage` number, double: Giá trung bình
  - `priceClose` number, double: Giá đóng cửa
  - `priceBasic` number, double: Giá tham chiếu
  - `totalVolume` number, double: Tổng khối lượng
  - `dealVolume` number, double: Khối lượng khớp lệnh
  - `putthroughVolume` number, double: Khối lượng thỏa thuận
  - `totalValue` number, double: Tổng giá trị giao dịch
  - `putthroughValue` number, double: Giá trị thỏa thuận
  - `buyForeignQuantity` number, double: Khối lượng NĐT nước ngoài mua
  - `buyForeignValue` number, double: Giá trị NĐT nước ngoài mua
  - `sellForeignQuantity` number, double: Khối lượng NĐT nước ngoài bán
  - `sellForeignValue` number, double: Giá trị NĐT nước ngoài bán
  - `buyCount` number, double: Số lệnh mua
  - `buyQuantity` number, double: Khối lượng mua
  - `sellCount` number, double: Số lệnh bán
  - `sellQuantity` number, double: Khối lượng bán
  - `adjRatio` number, double: Tỉ lệ điều chỉnh
  - `currentForeignRoom` number, double: Room nước ngoài
  - `propTradingNetDealValue` number, double: Giá trị tự doanh mua ròng (khớp lệnh)
  - `propTradingNetPTValue` number, double: Giá trị tự doanh mua ròng (thỏa thuận)
  - `propTradingNetValue` number, double: Giá trị tự doanh mua ròng
  - `unit` number, double: Đơn vị giá

## Other responses

- `400`: Có lỗi khi thực hiện thao tác

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
