Sajid305 / bdshare

A utility for crawling historical and Real-time Quotes data of Dhaka and Chittagong stock Exchange

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bdshare

Documentation Status

A utility for crawling historical and Real-time data from stock exchanges of Bangladesh. At present this utility can collect data from Dhaka and Chittagong stock exchange.

Contents

Quickstart

Installation

$ pip install bdshare

Example Use

Get last or current trading data

from bdshare import get_current_trade_data

df = get_current_trade_data()
print(df.to_string())
from bdshare import get_current_trade_data

df = get_current_trade_data('GP') # get specific instrument data
print(df.to_string())

Get historical data

from bdshare import get_hist_data

df = get_hist_data('2020-03-01','2020-03-02') # get all instrument data
print(df.to_string())

or

from bdshare import get_hist_data

df = get_hist_data('2020-03-01','2020-03-02','ACI') # get specific instrument data
print(df.to_string())

TODO's and Road Map:

  • refine logic for parameters
  • examples;
  • DSE daily data and historical data crawling
  • DSE news,p/e crawling
  • Add CSE support for last trading price
  • Add P/E and historical data scraping form CSE

Documentation

Complete documentation can be found at Readthedocs .

Contributing to this project

Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.

About

A utility for crawling historical and Real-time Quotes data of Dhaka and Chittagong stock Exchange

License:MIT License


Languages

Language:Python 100.0%