Closed yellowbean closed 5 months ago
mortgage1 = ["Mortgage" ,{"originBalance": 12000.0 ,"originRate": ["fix",0.045] ,"originTerm": 40 ,"freq": "monthly" ,"type": "level" ,"originDate": "2021-02-01"} ,{"currentBalance": 10000.0 ,"currentRate": 0.075 ,"remainTerm": 30 ,"status": "current"}] mortgage2 = ["Mortgage" ,{"originBalance": 8000.0 ,"originRate": ["fix",0.045] ,"originTerm": 25 ,"freq": "monthly" ,"type": "level" ,"originDate": "2021-02-01"} ,{"currentBalance": 6000.0 ,"currentRate": 0.075 ,"remainTerm": 15 ,"status": "current"}] myPool = {'assets':[ mortgage1, mortgage2 ], 'cutoffDate':"2022-03-01"} assetLevelAssump = ("ByIndex" ,([0],(("Mortgage",{"CDR":0.01},None,None,None) ,None ,None)) ,([1],(("Mortgage",None,{"CPR":0.01},None,None) ,None ,None)) ) r = localAPI.runPool(myPool ,poolAssump=assetLevelAssump ,read=True) r['PoolConsol'][0]
fixed with 414965d