An open API service indexing awesome lists of open source software.

https://github.com/finstack-dev/morningstar-equity-classification-system

Morningstar Global Equity Classification Structure
https://github.com/finstack-dev/morningstar-equity-classification-system

2019v3 classification equity finstack javascript morningstar npm-package

Last synced: 6 months ago
JSON representation

Morningstar Global Equity Classification Structure

Awesome Lists containing this project

README

          



Morningstar


Morningstar Equity Classification System



This NPM package aims to enable lookups in the reference table of Morningstar as published on their
website.



GitHub license


Current npm package version.


NPM downloads


GitHub stars


GitHub forks


Current open issues


PRs welcome!

## Installation

### Yarn
```shell
yarn add morningstar-equity-classification-system
```

### NPM
```shell
npm install morningstar-equity-classification-system
```

## Usage

```javascript
import * as mecs from 'morningstar-equity-classification-system';

mecs.all()

/** Output:

[
{
"superSector": "Cyclical",
"superSectorId": 1,
"description": "..."
},
{
...
}
]

**/

mecs.search('finance');

/** Output:

[
{
"superSector": "...",
"superSectorId": ...,
"sector": "...",
"sectorId": ...,
"industryGroup": "...",
"industryGroupId": ...,
"industry": "...",
"industryId": ...,
"description": "..."
},
{
...
}
]

**/

mecs.find('31169148');

/** Output:

{
"superSector": "...",
"superSectorId": ...,
"sector": "...",
"sectorId": ...,
"industryGroup": "...",
"industryGroupId": ...,
"industry": "...",
"industryId": ...,
"description": "..."
}

**/

mecs.above('31169148');

/** Output:

[
{
"superSector": "...",
"superSectorId": ...,
"sector": "...",
"sectorId": ...,
"industryGroup": "...",
"industryGroupId": ...,
"industry": "...",
"industryId": 31169148,
"description": "..."
},
{
"superSector": "...",
"superSectorId": ...,
"sector": "...",
"sectorId": ...,
"industryGroup": "...",
"industryGroupId": 31169,
"description": "..."
},
{
"superSector": "...",
"superSectorId": ...,
"sector": "...",
"sectorId": 311,
"description": "..."
},
{
"superSector": "...",
"superSectorId": 3,
"description": "..."
}
]

**/

mecs.below('311');

/** Output:

[
{
"superSector": "...",
"superSectorId": ...,
"sector": "...",
"sectorId": ...,
"industryGroup": "...",
"industryGroupId": 31169,
"description": "..."
},
{
"superSector": "...",
"superSectorId": ...,
"sector": "...",
"sectorId": ...,
"industryGroup": "...",
"industryGroupId": ...,
"industry": "...",
"industryId": 31169148,
"description": "..."
}
]

**/

```



Build with love


Made with JavaScript




Check it out!


Check it out!