Metadata-Version: 2.1
Name: dse-data-loader
Version: 0.0.31
Summary: This is a tool to download stock market data of Dhaka Stock Exchange.
Home-page: https://github.com/skfarhad/algo-trading/tree/master/dse_data_loader_pkg
Author: Sk Farhad
Author-email: sk.farhad.eee@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/skfarhad/algo-trading/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests (==2.25.1)
Requires-Dist: pandas (==1.2.3)
Requires-Dist: scipy (==1.6.2)
Requires-Dist: beautifulsoup4 (==4.9.3)
Requires-Dist: matplotlib (==3.4.1)
Requires-Dist: mplfinance (==0.12.7a17)
Requires-Dist: pyti (==0.2.2)
Requires-Dist: tapy (==1.9.1)

## Description
This is a Python library based on *beautifulsoup4* and *pandas* 
to download price data and fundamental data of companies from  
Dhaka Stock Exchange.
<br/>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](http://dsebd.org).

This is the minimal documentation. It'll be improved continuously (hopefully!). 


