Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenFIGI enricher #132

Merged
merged 5 commits into from
Nov 15, 2023
Merged

Add OpenFIGI enricher #132

merged 5 commits into from
Nov 15, 2023

Conversation

jbothma
Copy link
Contributor

@jbothma jbothma commented Nov 14, 2023

No description provided.

Comment on lines 27 to 31
def make_company_id(self, name):
return f"figi-co-{make_entity_id(name)}"

def make_security_id(self, figi):
return f"figi-id-{slugify(figi, sep='-')}"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these perhaps rather be something like ofg-{hash} for companies and figi-{figi} for figis?

@jbothma jbothma changed the title Openfigi Add OpenFIGI enricher Nov 15, 2023
@jbothma jbothma marked this pull request as ready for review November 15, 2023 10:14
nomenklatura/enrich/common.py Outdated Show resolved Hide resolved
@pudo pudo merged commit 4a3333d into main Nov 15, 2023
5 checks passed
@pudo pudo deleted the openfigi branch November 15, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants