This repository aims to get the financial data of publicly listed companies in Indonesia ๐ฎ๐ฉ for free. It includes reference data (e.g. company profiles, organization structures, etc), daily trading summary (e.g. high, low, bid, ask, foreign buy/sell, etc), and financial statements (balance sheet, profit/loss, and cash flow). This repository is automatically updated daily so you can just chill and relax ๐ ๐ ๐ฅฅ ๐ด ๐ป.
TL;DR: if you don't want to run this locally and just want to go straight to the data, which are located under data
directory. You can proceed as follows:
file_name | description |
---|---|
anakperusahaan.csv | A list of subsidiaries for each listed company |
bondsandsukuk.csv | A list of bonds for each listed company |
broker-summary-${YEAR}.csv | Daily broker summary since January 4, 2016 (prior that the data is unavailable) |
direktur.csv | A list of directors for each listed company |
dividen.csv | Dividends information for each listed company |
financial-statement${YEAR}${QUARTER}.csv | Quarterly financial statement which comprises of balance sheet, profit and loss, and cash flow statements. |
index-summary-${YEAR}.csv | Daily trading summary for each industry since January 2, 2015 (prior that the data is unavailable) |
issuedbond.csv | Issued bonds for each listed company |
kap.csv | A list of auditors for each listed company |
komisaris.csv | A list of commissioners for each listed company |
komiteaudit.csv | A list of audit committees for each listed company |
listed-company.csv | Publicly listed companies in Indonesia Stock Exchange |
pemegangsaham.csv | A list of shareholders for each listed company |
profiles.csv | Company profiles |
sekretaris.csv | A list of secretaries for each listed companies |
stock-summary-${YEAR}.csv | Daily trading summary for individual stocks since January 2, 2015 (prior that the data is unavailable) |
Below are plot examples, which are automatically updated daily at 12 AM UTC+7 (Jakarta time).
How can we be sure that it's totally okay to get the data from the website? Open its robots.txt site
and see the following result:
Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
It doesn't seem that they care whether or not we scrape their data. ๐
Cloning this repository to your local machine is as easy as A-B-C. Just do the following on terminal:
git clone https://github.com/ledwindra/indonesia-stock-exchange.git
cd indonesia-stock-exchange/
Run the following on terminal if you don't want to mess around with existing modules installed on your machine:
python -m venv [VIRTUAL-ENVIRONMENT-NAME] # can be anything. for example .venv
source [VIRTUAL-ENVIRONMENT-NAME]/bin/activate
python -m pip install -r requirements.txt
To exit from the virtual environment, run deactivate
.
Hope you enjoy this. Thanks for reading! ๐