Description
This is a Python library based on beautifulsoup4 and pandas
to download price data and fundamental data of companies from
Dhaka Stock Exchange.
This can assist you to create further analyses
based on fundamental and price history data.
Installation
pip install dse-data-loader
Usage
Downloading historical price data of a single stock-
from dse_data_loader import PriceData
loader = PriceData()
loader.save_history_csv('ACI', file_name='ACI_history.csv')
The above code will create a file named- 'ACI_history.csv'. It'll contain historical price data for ACI Limited. 'ACI' is the stock symbol.
Downloading current price data of all listed companies in DSE-
from dse_data_loader import PriceData
loader = PriceData()
loader.save_current_csv(file_name='current_data.csv')
The above code will create a file named- 'ACI_history.csv' in the current folder. It'll contain current price data for all symbols.
Downloading fundamental data for a list of companies available in DSE-
from dse_data_loader import FundamentalData
loader = FundamentalData()
loader.save_company_data(['ACI', 'GP', 'WALTONHIL'], path='company_info')
The above code will create two files named 'company_data.csv' & 'financial_data.csv' in the 'company_info' folder relative to current directory. The file named company_data.csv contains the fundamental data of ACI Limited, GP and Walton BD for the current year and financial_data.csv contains year-wise fundamental data according to DSE website.
This is the minimal documentation. It'll be improved continuously (hopefully!).
Metadata
Release files for dse-data-loader 0.0.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dse-data-loader-0.0.31.tar.gz | 9.9 kB | Without provenance | Details for dse-data-loader-0.0.31.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dse_data_loader-0.0.31-py3-none-any.whl | Python 3 | none | any | Details for dse_data_loader-0.0.31-py3-none-any.whl |
Total release size: 19.4 kB
Release files / dse-data-loader-0.0.31.tar.gz
| Download URL | dse-data-loader-0.0.31.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e135497ba3c06a5d4874f81c6cffba9dc4562b984828c150bf6c4b0819dfece7
|
|
BLAKE2b-256 checksum How to use checksums |
2cd37353b139b864aa0bcb01b780aae9b268555d97f1ff20fa60e3933a621dd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
|
Release files / dse_data_loader-0.0.31-py3-none-any.whl
| Download URL | dse_data_loader-0.0.31-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da176b1de100737c744547f4d9526c7c9f31cc26fa711d81803dacaa200a39d7
|
|
BLAKE2b-256 checksum How to use checksums |
42351d49cf20f9abf7ff56b34b01c3a009b5d5e2cca4c05afe9701fe020d57c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
|
Security for dse-data-loader 0.0.31
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.