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

Overnight CapFloor CSV plugin #2679

Merged
merged 4 commits into from
Oct 16, 2024
Merged

Conversation

skitini
Copy link
Contributor

@skitini skitini commented Oct 16, 2024

No description provided.

@skitini skitini requested review from a team, yukiiwashita, Neelesh99, hsaleem06 and James-OpenGamma and removed request for a team October 16, 2024 12:48
* @return the parsed trade
*/
static OvernightInArrearsCapFloorTrade parseCapFloor(CsvRow row, TradeInfo info, TradeCsvInfoResolver resolver) {
OvernightInArrearsCapFloorTrade iborCapFloorTrade = parseRow(row, info);
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to update the name, iborCapFloorTrade?

Currency currency = row.getValue(CURRENCY_FIELD, LoaderUtils::parseCurrency);
ValueSchedule strike = ValueSchedule.of(row.getValue(STRIKE_FIELD, LoaderUtils::parseDoublePercent));
double notional = row.getValue(NOTIONAL_FIELD, LoaderUtils::parseDouble);
OvernightIndex iborIndex = parseOvernightIndex(row);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be overnight index

@skitini skitini requested a review from yukiiwashita October 16, 2024 18:58
@skitini skitini added the auto-merge Merge when build finishes label Oct 16, 2024
@mergify mergify bot merged commit 4dce556 into main Oct 16, 2024
9 checks passed
@mergify mergify bot deleted the topic/overnight-cap-floor-csv-plugin branch October 16, 2024 19:05
sagiruthvik pushed a commit to SolumXplain/solum-xplain-opengamma-strata that referenced this pull request Nov 13, 2024
* Overnight CapFloor CSV plugin

* copyright

* variable names

---------

Co-authored-by: Alexis Skitini <[email protected]>
jodastephen pushed a commit that referenced this pull request Jan 5, 2025
* Overnight CapFloor CSV plugin

* copyright

* variable names

---------

Co-authored-by: Alexis Skitini <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Merge when build finishes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants