Skip to main content

This is a tool to download stock price data of Dhaka Stock Exchange.

Project description

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 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.

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!).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dse-data-loader-0.0.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

dse_data_loader-0.0.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page