stock market, mutual funds, commodities and general investments
Project description
# Mokola This package enables users to download stocks data from Ghana.
## Installation
`python pip install mokola `
## Usage
### Download Specific Stock Data
`python import mokola.stocks.Stocks as stk df = stk.Stocks().download('MTNGH','2021-12-01','2021-12-13') df.head() `
The above returns a Pandas dataframe of MTNGH from the stated dates ‘2021-12-01’ and ‘2021-12-13’ as start and end dates
### Download All Data for a period
You can as well all stocks data like this:
`python import mokola.stocks.Stocks as stk df = stk.Stocks().download(None,'2021-12-01','2021-12-13') df.head() `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.