tzutalin / FinMind

Open Source, more 15 kinds financial data.

Home Page:https://linsamtw.github.io/FinMindDoc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status license PyPI version Documentation Status

You can analysis financial data and no need collecting data by yourself. The dataset will auto update daily.

 pip3 install FinMind

The full version of this documentation is at https://linsamtw.github.io/FinMindDoc/.

Load example

Taiwan Stock Price 台灣股價

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

Taiwan Stock Financial Statements 台灣股票財報

data = Load.FinData(dataset = 'FinancialStatements',select = ['2330.TW'],date = '2017-10-10')

Taiwan Stock Stock Dividend 台灣股票歷年配息

data = Load.FinData(dataset = 'TaiwanStockStockDividend',select = ['2330.TW'],date = '2017-10-10')

Taiwan Stock Margin Purchase Short Sale 台灣股票融資融券

data = Load.FinData(dataset = 'TaiwanStockMarginPurchaseShortSale',select = ['2330.TW'],date = '2018-10-10')

Institutional Investors Buy Sell 台灣股票外資買賣

data = Load.FinData(dataset = 'InstitutionalInvestorsBuySell',select = ['2330.TW'],date = '2018-10-10')

Exchange Rate 各國匯率

data = Load.FinData(dataset = 'ExchangeRate',select = ['Japan'],date = '2018-10-10')

Interest Rate 各國央行利率

data = Load.FinData(dataset = 'InterestRate',select = ['ECB'],date = '2018-10-10')

Government bond 各國債券

data = Load.FinData(dataset = 'Governmentbond',select = ['Canada 2-Month'],date = '2018-10-10')

Gold Price 金價

data = Load.FinData(dataset = 'GoldPrice',date = '2018-10-10')    

Crude Oil Prices 油價

data = Load.FinData(dataset = 'CrudeOilPrices',select = ['Brent'],date = '2018-10-10')

other example can refer demo.


Financial Data

More than 15 kinds 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 Rate ( vs US )
    • Canda
    • 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 bond
    • 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

Financial Visualize ( In development )

At least five kinds Visualize tools on every data. ( In development )
股價、交易量、金價、油價

Financial Mining ( In development )

LSTM & GRU


email : linsam.tw.github@gmail.com

About

Open Source, more 15 kinds financial data.

https://linsamtw.github.io/FinMindDoc/

License:Apache License 2.0


Languages

Language:Python 100.0%