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

Erroneous deposit specification in bootstrapper #21

Open
FuggeWolf opened this issue Aug 11, 2020 · 1 comment
Open

Erroneous deposit specification in bootstrapper #21

FuggeWolf opened this issue Aug 11, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@FuggeWolf
Copy link
Collaborator

The method InstrumentSpec.get_deposit_spec in pyvacon.marketdata.bootstrapping.py should be replaced by

def get_deposit_spec(self):
    """
    Specification for deposits
    """
    
    # start date of the accrual period
    startDate = get_end_date(self.refDate,  self.spotLag)
    startDate_p = converter.getLTime(startDate)
    
    # end date of the accrual period
    endDate = get_end_date(startDate, self.maturity)
    endDate_p = converter.getLTime(endDate)
    
    # specification of the deposit
    deposit = analytics.DepositSpecification(self.label, 'dummy_issuer', enums.SecuritizationLevel.NONE,
                                    self.currency, self.refDate_p, startDate_p, endDate_p, 100, self.parRate, self.floatDayCount)
                                              
    return(deposit)
@favdo favdo added the wontfix This will not be worked on label Aug 17, 2020
@favdo
Copy link
Contributor

favdo commented Aug 17, 2020

wird durch pyriva ersetzt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants