xlcalculator
xlcalculator copied to clipboard
VDB function
VDB function is erroneous and requires these changes:
line 162: periods = [x + 0.5 for x in periods] should be periods = [x + delta_start for x in periods]
Reason: 0.5 is delta for HY conventions. MQ and MM conventions will have different values for delta_start.
@zulqasar Would you mind creating a PR with tests?