Skip to main content

Morningstar API Client

Project description

Morningstar API Client build

This project provides a client to the Morningsar Web Services endpoints.


Install as a dependency using pip:

pip install morningstar

or install from source:

git clone
cd morningstar
python install

Once installed, a configuration file (config-morningstar.yml or .config-morningstar.yml) is required within your home folder (~). The content can be derived from config-morningstar.yml.dist:

cp config-morningstar.yml.dist ~/.config-morningstar.yml


from morningstar.morningstar_client import MorningstarClient
client = MorningstarClient()

The most recommended way to use this module is to instantiate MorningstarClient directly, and if necessary extend funcationality using inheritance: class MyMorningstarClient(MorningstarClient).

client.get_instrument_prices(instrument='28.10.F00000JQA9', start_date='01-01-2019', end_date='02-01-2019')

Alternatively, the underlying provider can be accessed using the client instance and therefore provides the full scope of the Morningstar web service API:{'isin': "CH0038863350"})

Project details

Download files

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

Files for morningstar, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size morningstar-0.3.1.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View
Filename, size morningstar-0.3.1-py3-none-any.whl (21.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page