Metadata-Version: 2.1
Name: dse-data-loader
Version: 0.0.1
Summary: This is a tool to download stock price data of Dhaka Stock Exchange.
Home-page: https://github.com/skfarhad/algo-trading/tree/master/dse_data_loader
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
Requires-Dist: pandas
Requires-Dist: beautifulsoup4

## 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 fundamental data-

```
from dse_data_loader import FundamentalData
loader = FundamentalData()

loader.save_company_data(['ACI'])

```
The above code will crete two files named 'company_data.csv' & 'financial_data.csv' in current folder.
The file named company_data.csv contains the fundamental data for current year
financial_data.csv contains year wise fundmental data according to [DSE website](http://dsebd.org).

Downloading history price data-

```
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 for all symbols-
```
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'. It'll contain current price data for all symbols.

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


