1.3. Danh sách mã theo tỷ trọng
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()
data = client.MoneyFlow().get_contribution(
ticker="VNINDEX",
contribution_day="20Day",
type="topGainers",
top=15
)
print(data)Tên tham số
Mô tả
Kiểu dữ liệu
Mặc định
Bắt buộc
Tên thuộc tính
Mô tả
Kiểu dữ liệu
Last updated