1.1. Danh sách mã theo index
Mô tả cách sử dụng thư viện sau khi người dùng đã đăng nhập. Chi tiết được nêu ra ở cuối chương này.
from FiinQuantX import FiinSession
username = "REPLACE_WITH_YOUR_USERNAME"
password = "REPLACE_WITH_YOUR_PASSWORD"
client = FiinSession(username=username, password=password).login()
tickers = client.TickerList(ticker="VN30")
print(tickers)from FiinQuantX import FiinSession
username = "REPLACE_WITH_YOUR_USERNAME"
password = "REPLACE_WITH_YOUR_PASSWORD"
client = FiinSession(username=username, password=password).login()
tickers = client.TickerList(ticker="VN30")
data = client.Fetch_Trading_Data(
realtime=False,
tickers=tickers,
fields=["open","high","low","close","volume"],
adjusted=True,
by="1d",
from_date="2025-06-18"
).get_data()
print(data)Last updated