Open Data, more than 50 financial data. 提供超過 50 個金融資料(台股為主),每天更新 https://finmind.github.io/
pip install FinMind
FinMind 是超過 50 種金融開源數據 50 datasets。 包含
資料每天更新。你不需收集資料,就可進行分析。
FinMind is open source of more than 50 datasets, including
Taiwan stock trade data daily, Taiwan stock trade data (5 seconds) (2019-05-29 ~ now, more than 30 million data in total), Financial Statements, Balance Sheet, Cash Flows Statement, Month Revenue, Holding Shares Per, Institutional Investors Buy Sell. Taiwan Futures Trade Detail, Taiwan Option Trade Detail.
US stock price daily, minute (2019-06-01 ~ now, more than 80 million data in total), oil price, gold price, G7 exchange rate, interest rate.
US Government Bonds Yield.
The datasets are automatically updated daily. You can analyze financial data without having to collect the data by yourself.
本專案提供的所有內容均用於教育、非商業用途。資料僅供參考,使用者依本資料交易發生交易損失需自行負責,本專案不對資料內容錯誤、更新延誤或傳輸中斷負任何責任。
Dataset
Example
Other
# 取得股價
from FinMind.data import DataLoader
dl = DataLoader()
# 下載台股股價資料
stock_data = dl.taiwan_stock_daily(
stock_id='2609', start_date='2018-01-01', end_date='2021-06-26'
)
# 下載三大法人資料
stock_data = dl.feature.add_kline_institutional_investors(
stock_data
)
# 下載融資券資料
stock_data = dl.feature.add_kline_margin_purchase_short_sale(
stock_data
)
# 繪製k線圖
from FinMind import plotting
plotting.kline(stock_data)
Email: [email protected]
每週日早上零點至早上七點為維護時間,不提供服務。