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 concept of aliasing in curve groups #1446

Open
cjkent opened this issue Dec 19, 2016 · 2 comments
Open

Add concept of aliasing in curve groups #1446

cjkent opened this issue Dec 19, 2016 · 2 comments

Comments

@cjkent
Copy link
Contributor

cjkent commented Dec 19, 2016

Strata curve groups allow the same curve to be used as the forward curve for multiple indices. For example it is common to use the 1M curve for the 2W and 1W indices.

As it stands, there is no way to know which of the indices associated with a curve is the primary one (1M in the example above) and which are aliases (1W and 2W in the example).

In some cases it is necessary to know the primary index associated with a curve but there is currently no way to do this in Strata.

The curve group (definition) could be enhanced to contain separate mappings for primary indices and aliases, or a flag could be added to the curve group entry to indicate whether the mapping is between a curve and the primary index.

@jodastephen
Copy link
Member

Add the index to the curve metadata?

@cjkent
Copy link
Contributor Author

cjkent commented Dec 20, 2016

Unfortunately there isn't anywhere in the code which knows about the primary index. The curve group is defined using the Strata CSV format and loaded directly into a CurveGroupDefinition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants