You can analyze financial data without having to collect the data by yourself. The datasets are automatically updated daily.
pip3 install FinMind
The full version of this documentation is at https://linsamtw.github.io/FinMindDoc/.
from FinMind.Data import Load
data = Load.FinData(dataset = 'TaiwanStockPrice',select = ['2330.TW'],date = '2018-10-10')
print( data[:5] )
Open High Low Close Adj_Close Volume date stock_id
0 233.5 233.5 227.0 227.5 227.5 94589657 2018-10-11 2330.TW
1 231.0 237.0 229.0 237.0 237.0 47175769 2018-10-12 2330.TW
2 234.0 234.0 230.5 230.5 230.5 42168280 2018-10-15 2330.TW
3 229.5 237.0 229.0 237.0 237.0 37818077 2018-10-16 2330.TW
4 241.5 243.0 238.0 238.5 238.5 42494858 2018-10-17 2330.TW
data = Load.FinData(dataset = 'FinancialStatements',select = ['2330.TW'],date = '2017-10-10')
data = Load.FinData(dataset = 'TaiwanStockStockDividend',select = ['2330.TW'],date = '2017-10-10')
data = Load.FinData(dataset = 'TaiwanStockMarginPurchaseShortSale',select = ['2330.TW'],date = '2018-10-10')
data = Load.FinData(dataset = 'InstitutionalInvestorsBuySell',select = ['2330.TW'],date = '2018-10-10')
data = Load.FinData(dataset = 'ExchangeRate',select = ['Japan'],date = '2018-10-10')
data = Load.FinData(dataset = 'InterestRate',select = ['ECB'],date = '2018-10-10')
data = Load.FinData(dataset = 'Governmentbond',select = ['Canada 2-Month'],date = '2018-10-10')
data = Load.FinData(dataset = 'GoldPrice',date = '2018-10-10')
data = Load.FinData(dataset = 'CrudeOilPrices',select = ['Brent'],date = '2018-10-10')
For other examples, please refer to demo.
More than 15 kinds of financial data.
- Stock Information
- Taiwan
- US
- Japan
- UK
- Europe
- Stock Prices
- Taiwan
- US
- Japan
- UK
- Europe
- Financial Statements
- Taiwan
- US
- Crude Oil Prices
- Brent
- WTI
- Exchange Rates ( vs US )
- Canada
- China
- Euro
- Japan
- Taiwan
- UK
- Interest Rate
- BCB : Central Bank of Brazil
- BOC : Bank of Canada
- BOE : Bank of England
- BOJ : Bank of Japan
- CBR : Central Bank of the Russian Federation
- ECB : European Central Bank
- FED : Federal Reserve
- PBOC : People's Bank of China
- RBA : Reserve Bank of Australia
- RBI : Reserve Bank of India
- RBNZ : Reserve Bank of New Zealand
- SNB : Swiss National Bank
- Government Bonds
- Canada : 1-Month ~ 30-Year
- China : 1-Year ~ 30-Year
- France : 1-Month ~ 50-Year
- Germany : 3-Month ~ 30-Year
- Italy : 1-Month ~ 50-Year
- Japan : 1-Month ~ 40-Year
- Russia : 1-Week ~ 20-Year
- United Kingdom : 1-Month ~ 50-Year
- United States : 1-Month ~ 30-Year
- Energy Futures Prices
- BrentOilFutures
- CarbonEmissionsFutures
- CrudeOilWTIFutures
- GasolineRBOBFutures
- HeatingOilFutures
- LondonGasOilFutures
- NaturalGasFutures
- Taiwan Stock Stock Dividend
- Taiwan Stock Institutional Investors Buy and Sell
- Taiwan Stock Margin Purchase Short Sale
- Gold Price
At least five kinds of visualization tools for every data type. ( In development )
股價、交易量、金價、油價
email : linsam.tw.github@gmail.com