blob: b16c4b71a6d22f5e5c5f2301c1c9b8ac94519ca3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
from .index import CreditIndex, ForwardIndex
from .option import (BlackSwaption, Swaption, ATMstrike, ProbSurface,
QuoteSurface, VolSurface, BlackSwaptionVolSurface)
from .portfolio import Portfolio
from .basket_index import MarkitBasketIndex
from .tranche_basket import DualCorrTranche, TrancheBasket
from .ir_swaption import IRSwaption
def init_ontr():
global _ontr, _beta
_ontr = CreditIndex('HY', 31, '5yr')
_ontr.mark()
_beta = {'HY': 1, 'IG': .3}
|