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

Provide calculation target for sensitivities #1806

Merged
merged 4 commits into from Oct 5, 2018

Conversation

Projects
None yet
2 participants
@jodastephen
Member

jodastephen commented Oct 3, 2018

A CalculationTarget implementation that allows sensitivities to be used as input

/**
* The additional information.
* <p>
* This allows additional information to be attached to the trade.

This comment has been minimized.

@brianweller89

brianweller89 Oct 4, 2018

Contributor

Not a trade

* The sensitivities, keyed by type.
* <p>
* The map allows sensitivity to different types to be expressed.
* For example, the target might have sensitivity have both delta and gamma sensitivity.

This comment has been minimized.

@brianweller89

brianweller89 Oct 4, 2018

Contributor

"might have sensitivity have both"

* Neither a trade nor a position.
* Risk expressed as sensitivities.
* <p>
* This allows risk to be expressed as sensitivities.

This comment has been minimized.

@brianweller89

brianweller89 Oct 4, 2018

Contributor

Not sure the second comment is necessary? Its a restatement of the first

jodastephen added some commits Oct 2, 2018

Provide calculation target for sensitivities
A `CalculationTarget` implementation that allows sensitivities
to be used as input
Rename to be shorter
CurveSensitivitiesTarget
Add combinedWith()

@jodastephen jodastephen merged commit 8ecbc51 into master Oct 5, 2018

14 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
security/snyk - modules/basics/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/calc/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/collect/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/data/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/loader/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/market/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/math/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/measure/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/pricer/pom.xml (OpenGamma) No new issues
Details
security/snyk - modules/report/pom.xml (OpenGamma) No new issues
Details
security/snyk - pom.xml (OpenGamma) No new issues
Details

@jodastephen jodastephen deleted the topic/sens-target branch Oct 5, 2018

@jodastephen jodastephen added this to the v2.1 milestone Oct 24, 2018

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