asDays
A curve function that breaks a single contract into a list of daily contracts, e.g. a month into days
Syntax
Contracts = asDays(Contract)
Result
A Contracts object
Example
c = Contract(ondate, "2021M01", 26.85)
contracts = asDays(c)
for tenor in contracts
print tenor.absolute + " : " + tenor.value
next