Skip to content

Additional functionality tests for SmithWilson curves #49

Open
@alecloudenback

Description

To test/extend API:

Q: Are the curves composable (is + defined), like in the quickstart in README
A: Yes, e.g.:

julia> discount(sw_swq,1)
1.0208956877292932

julia> discount(sw_swq+ Yields.Constant(0.05),1)
0.9713151170101941

Q: How are the yields in the quote instruments defined? Unsure if they are coninuous/periodic compounded.

  • Either way, need to document default assumption
  • Allow for alternate construction, e.g. with Periodic(0.03,2) (ie bond equivalent yields)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions