Lớp hàm FA.Quote
Tổng hợp 41 hàm FA.Quote để kéo dữ liệu giá, thanh khoản và giao dịch vào bảng tính.
- 🇻🇳 Tiếng Việt
- 🇬🇧 English
- 🇰🇷 한국어
- 🇨🇳 中文
Cú pháp
Để lấy thông tin giao dịch của mã cổ phiếu ở thời điểm hiện tại, nhập công thức theo dạng sau vào một ô mà bạn dự định hiện thị kết quả:
=FA.Quote.[Trường thông tin]("Mã CK")
Trong đó:
- Mã CK: là mã của chứng khoán niêm yết
- Trường thông tin: là tên trường tương ứng với một thông tin nhất định về giao dịch cổ phiếu hiện tại
Ví dụ
Nếu muốn lấy giá hiện tại của mã AAA, nhập biểu thức:
=FA.Quote.PriceLast("AAA")
Bạn cũng có thể ghi mã chứng khoán ở một ô (cell), ví dụ A1, và dùng công thức sau:
=FA.Intraday.PriceLast(A1)
Ưu điểm của phương pháp này là bạn có thể thay đổi mã chứng khoán mà không cần sửa công thức.
Lưu ý: Nếu bạn truyền ô vào thay vì mã chứng khoán, thì ở ô đó cần chứa mã chứng khoán. Trong trường hợp này mã chứng khoán không cần nằm giữa 2 dấu nháy đôi.
Danh sách hàm
- FA.Quote.BuyCount — Lấy số lệnh đặt mua
- FA.Quote.BuyForeignQuantity — Lấy khối lượng nhà đầu tư nước ngoài mua
- FA.Quote.BuyForeignValue — Lấy giá trị nhà đầu tư nước ngoài mua
- FA.Quote.BuyQuantity — Lấy khối lượng đặt mua
- FA.Quote.CurrentForeignRoom — Lấy Room hiện thời của nhà đầu tư nước ngoài
- FA.Quote.DateTime — Lấy ngày giờ cập nhật giá lần cuối
- FA.Quote.Name — Lấy tên công ty ứng với mã chứng khoán
- FA.Quote.PriceAsk1 — Lấy giá đặt bán thấp nhất
- FA.Quote.PriceAsk2 — Lấy giá đặt bán thấp nhì
- FA.Quote.PriceAsk3 — Lấy giá đặt bán thấp thứ ba
- FA.Quote.PriceAverage — Lấy giá khớp lệnh trung bình
- FA.Quote.PriceBasic — Lấy giá tham chiếu
- FA.Quote.PriceBid1 — Lấy giá đặt mua cao nhất
- FA.Quote.PriceBid2 — Lấy giá đặt mua cao nhì
- FA.Quote.PriceBid3 — Lấy giá đặt mua cao thứ ba
- FA.Quote.PriceCeiling — Lấy giá trần
- FA.Quote.PriceChange — Lấy thay đổi giá của chứng khoán
- FA.Quote.PriceClose — Lấy giá đóng cửa
- FA.Quote.PriceFloor — Lấy giá sàn
- FA.Quote.PriceHigh — Lấy giá khớp lệnh cao nhất trong phiên hiện tại
- FA.Quote.PriceLast — Lấy giá khớp lệnh gần nhất. Trả về giá tham chiếu nếu phiên hiện tại chưa có khớp lệnh.
- FA.Quote.PriceLow — Lấy giá khớp lệnh thấp nhất trong ngày
- FA.Quote.PriceOpen — Lấy giá mở cửa
- FA.Quote.QuantityAsk1 — Lấy khối lượng đặt bán tương ứng giá đặt bán thấp nhất
- FA.Quote.QuantityBid1 — Lấy khối lượng đặt mua tương ứng giá đặt mua cao nhất
- FA.Quote.QuantityBid2 — Lấy khối lượng đặt mua tương ứng giá đặt mua cao nhì
- FA.Quote.QuantityBid3 — Lấy khối lượng đặt mua tương ứng giá đặt mua cao thứ ba
- FA.Quote.SellCount — Lấy số lệnh đặt bán
- FA.Quote.SellForeignQuantity — Lấy khối lượng nhà đầu tư nước ngoài bán
- FA.Quote.SellForeignValue — Lấy giá trị nhà đầu tư nước ngoài bán
- FA.Quote.SellQuantity — Lấy khối lượng đặt bán
- FA.Quote.Time — Lấy thời gian cập nhật giá lần cuối
- FA.Quote.TotalActiveBuyVolume — Lấy tổng khối lượng mua chủ động
- FA.Quote.TotalActiveSellVolume — Lấy tổng khối lượng bán chủ động
- FA.Quote.TotalTrade — Lấy tổng số lệnh khớp trong ngày
- FA.Quote.TotalValue — Lấy tổng giá trị khớp trong ngày
- FA.Quote.TotalVolume — Lấy tổng khối lượng khớp trong ngày
- FA.Quote.Volume — Lấy khối lượng khớp gần nhất
- FA.Quote.QuantityAsk3 — Lấy khối lượng đặt bán tương ứng giá đặt bán thấp thứ ba
- FA.Quote.QuantityAsk2 — Lấy khối lượng đặt bán tương ứng giá đặt bán thấp nhì
- FA.Quote.PricePercentChange — Lấy thay đổi giá (%) của cổ phiếu
Syntax
To get the current trading information of a stock ticker, enter a formula in the following form into the cell where you want the result to appear:
=FA.Quote.[Trường thông tin]("Mã CK")
Where:
- Ticker: The ticker of the listed security
- Field: The name of the field corresponding to a specific piece of current trading information for the stock
Example
To get the current price of ticker AAA, enter the expression:
=FA.Quote.PriceLast("AAA")
You can also enter the ticker in a cell, for example A1, and use the following formula:
=FA.Intraday.PriceLast(A1)
The advantage of this method is that you can change the ticker without editing the formula.
Notes: If you pass a cell instead of a ticker, that cell must contain the ticker. In this case, the ticker does not need to be enclosed in double quotes.
Function list
- FA.Quote.BuyCount — Gets the number of buy orders
- FA.Quote.BuyForeignQuantity — Gets the volume bought by foreign investors
- FA.Quote.BuyForeignValue — Gets the value bought by foreign investors
- FA.Quote.BuyQuantity — Gets the buy order volume
- FA.Quote.CurrentForeignRoom — Gets the current foreign room
- FA.Quote.DateTime — Gets the date and time of the last price update
- FA.Quote.Name — Gets the company name for the ticker
- FA.Quote.PriceAsk1 — Gets the lowest ask price
- FA.Quote.PriceAsk2 — Gets the second-lowest ask price
- FA.Quote.PriceAsk3 — Gets the third-lowest ask price
- FA.Quote.PriceAverage — Gets the average matched price
- FA.Quote.PriceBasic — Gets the reference price
- FA.Quote.PriceBid1 — Gets the highest bid price
- FA.Quote.PriceBid2 — Gets the second-highest bid price
- FA.Quote.PriceBid3 — Gets the third-highest bid price
- FA.Quote.PriceCeiling — Gets the ceiling price
- FA.Quote.PriceChange — Gets the price change of the security
- FA.Quote.PriceClose — Gets the closing price
- FA.Quote.PriceFloor — Gets the floor price
- FA.Quote.PriceHigh — Gets the highest matched price in the current session
- FA.Quote.PriceLast — Gets the most recent matched price. Returns the reference price if there has been no match in the current session.
- FA.Quote.PriceLow — Gets the lowest matched price of the day
- FA.Quote.PriceOpen — Gets the opening price
- FA.Quote.QuantityAsk1 — Gets the ask volume at the lowest ask price
- FA.Quote.QuantityBid1 — Gets the bid volume at the highest bid price
- FA.Quote.QuantityBid2 — Gets the bid volume at the second-highest bid price
- FA.Quote.QuantityBid3 — Gets the bid volume at the third-highest bid price
- FA.Quote.SellCount — Gets the number of sell orders
- FA.Quote.SellForeignQuantity — Gets the volume sold by foreign investors
- FA.Quote.SellForeignValue — Gets the value sold by foreign investors
- FA.Quote.SellQuantity — Gets the sell order volume
- FA.Quote.Time — Gets the time of the last price update
- FA.Quote.TotalActiveBuyVolume — Gets the total active buy volume
- FA.Quote.TotalActiveSellVolume — Gets the total active sell volume
- FA.Quote.TotalTrade — Gets the total number of matched orders of the day
- FA.Quote.TotalValue — Gets the total matched value of the day
- FA.Quote.TotalVolume — Gets the total matched volume of the day
- FA.Quote.Volume — Gets the volume of the most recent match
- FA.Quote.QuantityAsk3 — Gets the ask volume at the third-lowest ask price
- FA.Quote.QuantityAsk2 — Gets the ask volume at the second-lowest ask price
- FA.Quote.PricePercentChange — Gets the price change (%) of the stock
구문
종목의 현재 시점 거래 정보를 조회하려면, 결과를 표시할 셀에 다음 형식으로 수식을 입력합니다:
=FA.Quote.[Trường thông tin]("Mã CK")
여기서:
- 종목 코드: 상장 종목의 코드
- 필드: 종목의 현재 거래 정보 중 특정 항목에 해당하는 필드 이름
예시
AAA 종목의 현재 가격을 조회하려면 다음 수식을 입력합니다:
=FA.Quote.PriceLast("AAA")
종목 코드를 셀(예: A1)에 입력한 뒤 다음 수식을 사용할 수도 있습니다:
=FA.Intraday.PriceLast(A1)
이 방법의 장점은 수식을 수정하지 않고도 종목 코드를 바꿀 수 있다는 점입니다.
참고: 종목 코드 대신 셀을 전달하는 경우 해당 셀에 종목 코드가 들어 있어야 합니다. 이때 종목 코드는 큰따옴표로 묶지 않아도 됩니다.
함수 목록
- FA.Quote.BuyCount — 매수 주문 건수 조회
- FA.Quote.BuyForeignQuantity — 외국인 투자자 매수 수량 조회
- FA.Quote.BuyForeignValue — 외국인 투자자 매수 금액 조회
- FA.Quote.BuyQuantity — 매수 주문 수량 조회
- FA.Quote.CurrentForeignRoom — 현재 외국인 한도 잔여분(Room) 조회
- FA.Quote.DateTime — 마지막 가격 업데이트 일시 조회
- FA.Quote.Name — 종목 코드에 해당하는 회사명 조회
- FA.Quote.PriceAsk1 — 최우선 매도 호가 조회
- FA.Quote.PriceAsk2 — 차우선(2순위) 매도 호가 조회
- FA.Quote.PriceAsk3 — 3순위 매도 호가 조회
- FA.Quote.PriceAverage — 평균 체결가 조회
- FA.Quote.PriceBasic — 기준가 조회
- FA.Quote.PriceBid1 — 최우선 매수 호가 조회
- FA.Quote.PriceBid2 — 차우선(2순위) 매수 호가 조회
- FA.Quote.PriceBid3 — 3순위 매수 호가 조회
- FA.Quote.PriceCeiling — 상한가 조회
- FA.Quote.PriceChange — 종목의 가격 변동 조회
- FA.Quote.PriceClose — 종가 조회
- FA.Quote.PriceFloor — 하한가 조회
- FA.Quote.PriceHigh — 현재 세션의 최고 체결가 조회
- FA.Quote.PriceLast — 가장 최근 체결가를 조회합니다. 현재 세션에 체결이 없으면 기준가를 반환합니다.
- FA.Quote.PriceLow — 당일 최저 체결가 조회
- FA.Quote.PriceOpen — 시가 조회
- FA.Quote.QuantityAsk1 — 최우선 매도 호가의 매도 잔량 조회
- FA.Quote.QuantityBid1 — 최우선 매수 호가의 매수 잔량 조회
- FA.Quote.QuantityBid2 — 차우선(2순위) 매수 호가의 매수 잔량 조회
- FA.Quote.QuantityBid3 — 3순위 매수 호가의 매수 잔량 조회
- FA.Quote.SellCount — 매도 주문 건수 조회
- FA.Quote.SellForeignQuantity — 외국인 투자자 매도 수량 조회
- FA.Quote.SellForeignValue — 외국인 투자자 매도 금액 조회
- FA.Quote.SellQuantity — 매도 주문 수량 조회
- FA.Quote.Time — 마지막 가격 업데이트 시각 조회
- FA.Quote.TotalActiveBuyVolume — 총 능동 매수 수량 조회
- FA.Quote.TotalActiveSellVolume — 총 능동 매도 수량 조회
- FA.Quote.TotalTrade — 당일 총 체결 건수 조회
- FA.Quote.TotalValue — 당일 총 체결 금액 조회
- FA.Quote.TotalVolume — 당일 총 체결 수량 조회
- FA.Quote.Volume — 가장 최근 체결의 수량 조회
- FA.Quote.QuantityAsk3 — 3순위 매도 호가의 매도 잔량 조회
- FA.Quote.QuantityAsk2 — 차우선(2순위) 매도 호가의 매도 잔량 조회
- FA.Quote.PricePercentChange — 종목의 가격 변동률(%) 조회
语法
要获取某只股票当前时点的交易信息,请在要显示结果的单元格中按以下格式输入公式:
=FA.Quote.[Trường thông tin]("Mã CK")
其中:
- 股票代码:上市证券的代码
- 字段:对应股票当前某项交易信息的字段名称
示例
如果要获取股票 AAA 的当前价格,请输入表达式:
=FA.Quote.PriceLast("AAA")
您也可以将股票代码填写在某个单元格(例如 A1)中,并使用以下公式:
=FA.Intraday.PriceLast(A1)
这种方法的优点是无需修改公式即可更换股票代码。
注意:如果传入的是单元格而不是股票代码,则该单元格中必须包含股票代码。在这种情况下,股票代码无需用英文双引号括起来。
函数列表
- FA.Quote.BuyCount — 获取买入订单数
- FA.Quote.BuyForeignQuantity — 获取外国投资者买入量
- FA.Quote.BuyForeignValue — 获取外国投资者买入金额
- FA.Quote.BuyQuantity — 获取买入委托量
- FA.Quote.CurrentForeignRoom — 获取外国投资者当前剩余额度(Room)
- FA.Quote.DateTime — 获取最 近一次价格更新的日期和时间
- FA.Quote.Name — 获取股票代码对应的公司名称
- FA.Quote.PriceAsk1 — 获取最低卖出价
- FA.Quote.PriceAsk2 — 获取第二低卖出价
- FA.Quote.PriceAsk3 — 获取第三低卖出价
- FA.Quote.PriceAverage — 获取平均成交价
- FA.Quote.PriceBasic — 获取参考价
- FA.Quote.PriceBid1 — 获取最高买入价
- FA.Quote.PriceBid2 — 获取第二高买入价
- FA.Quote.PriceBid3 — 获取第三高买入价
- FA.Quote.PriceCeiling — 获取涨停价
- FA.Quote.PriceChange — 获取证券的价格变动
- FA.Quote.PriceClose — 获取收盘价
- FA.Quote.PriceFloor — 获取跌停价
- FA.Quote.PriceHigh — 获取当前交易时段的最高成交价
- FA.Quote.PriceLast — 获取最近一次成交价。如果当前交易时段尚无成交,则返回参考价。
- FA.Quote.PriceLow — 获取当日最低成交价
- FA.Quote.PriceOpen — 获取开盘价
- FA.Quote.QuantityAsk1 — 获取最低卖出价对应的卖出委托量
- FA.Quote.QuantityBid1 — 获取最高买入价对应的买入委托量
- FA.Quote.QuantityBid2 — 获取第二高买入价对应的买入委托量
- FA.Quote.QuantityBid3 — 获取第三高买入价对应的买入委托量
- FA.Quote.SellCount — 获取卖出订单数
- FA.Quote.SellForeignQuantity — 获取外国投资者卖出量
- FA.Quote.SellForeignValue — 获取外国投资者卖出金额
- FA.Quote.SellQuantity — 获取卖出委托量
- FA.Quote.Time — 获取最近一次价格更新的时间
- FA.Quote.TotalActiveBuyVolume — 获取主动买入总量
- FA.Quote.TotalActiveSellVolume — 获取主动卖出总量
- FA.Quote.TotalTrade — 获取当日成交订单总数
- FA.Quote.TotalValue — 获取当日总成交金额
- FA.Quote.TotalVolume — 获取当日总成交量
- FA.Quote.Volume — 获取最近一次成交的成交量
- FA.Quote.QuantityAsk3 — 获取第三低卖出价对应的卖出委托量
- FA.Quote.QuantityAsk2 — 获取第二低卖出价对应的卖出委托量
- FA.Quote.PricePercentChange — 获取股票的价格变动(%)