Hastructure-0.50.0: Cashflow modeling library for structured finance
Safe HaskellNone
LanguageHaskell2010

Assumptions

Synopsis

Documentation

data BondPricingInput Source #

Constructors

DiscountCurve PricingDate Ts

PV curve used to discount bond cashflow and a PV date where cashflow discounted to

RunZSpread Ts (Map BondName (Date, Rational))

PV curve as well as bond trading price with a deal used to calc Z - spread

DiscountRate PricingDate Rate 
IrrInput

OASInput Date BondName Balance [Spread] (Map.Map String Ts) -- ^ only works in multiple assumption request

Fields

data IrrType Source #

Instances

Instances details
FromJSON IrrType Source # 
Instance details

Defined in Assumptions

ToJSON IrrType Source # 
Instance details

Defined in Assumptions

Generic IrrType Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep IrrType 
Instance details

Defined in Assumptions

Methods

from :: IrrType -> Rep IrrType x #

to :: Rep IrrType x -> IrrType #

Show IrrType Source # 
Instance details

Defined in Assumptions

type Rep IrrType Source # 
Instance details

Defined in Assumptions

data AssumptionInput Source #

Constructors

Single ApplyAssumptionType NonPerfAssumption

one assumption request

Multiple (Map String ApplyAssumptionType) NonPerfAssumption

multiple assumption request in a single request

Instances

Instances details
Generic AssumptionInput Source # 
Instance details

Defined in Assumptions

Show AssumptionInput Source # 
Instance details

Defined in Assumptions

type Rep AssumptionInput Source # 
Instance details

Defined in Assumptions

data ApplyAssumptionType Source #

Constructors

PoolLevel AssetPerf

assumption apply to all assets in the pool

ByIndex [StratPerfByIdx]

assumption which only apply to a set of assets in the pool

ByName (Map PoolId AssetPerf)

assumption for a named pool

ByPoolId (Map PoolId ApplyAssumptionType)

assumption for a pool

ByObligor [ObligorStrategy]

assumption for a set of obligors

ByDealName (Map DealName (ApplyAssumptionType, NonPerfAssumption))

assumption for a named deal

lookupRate :: [RateAssumption] -> Floater -> Date -> Either String IRate Source #

lookup rate from rate assumption with index

data AssetPerfAssumption Source #

Instances

Instances details
FromJSON AssetPerfAssumption Source # 
Instance details

Defined in Assumptions

ToJSON AssetPerfAssumption Source # 
Instance details

Defined in Assumptions

Generic AssetPerfAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep AssetPerfAssumption 
Instance details

Defined in Assumptions

type Rep AssetPerfAssumption = D1 ('MetaData "AssetPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) ((C1 ('MetaCons "MortgageAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: (C1 ('MetaCons "MortgageDeqAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDelinquencyAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: C1 ('MetaCons "LeaseAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LeaseDefaultType)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LeaseAssetGapAssump)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LeaseAssetRentAssump) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LeaseEndType))))) :+: ((C1 ('MetaCons "LoanAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: C1 ('MetaCons "InstallmentAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress))))) :+: (C1 ('MetaCons "ReceivableAssump" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: C1 ('MetaCons "FixedAssetAssump" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))))))
Read AssetPerfAssumption Source # 
Instance details

Defined in Assumptions

Show AssetPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetPerfAssumption = D1 ('MetaData "AssetPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) ((C1 ('MetaCons "MortgageAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: (C1 ('MetaCons "MortgageDeqAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDelinquencyAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: C1 ('MetaCons "LeaseAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe LeaseDefaultType)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LeaseAssetGapAssump)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LeaseAssetRentAssump) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LeaseEndType))))) :+: ((C1 ('MetaCons "LoanAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: C1 ('MetaCons "InstallmentAssump" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetPrepayAssumption))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress))))) :+: (C1 ('MetaCons "ReceivableAssump" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AssetDefaultAssumption)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RecoveryAssumption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtraStress)))) :+: C1 ('MetaCons "FixedAssetAssump" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))))))

data ExtraStress Source #

Constructors

ExtraStress 

Fields

Instances

Instances details
FromJSON ExtraStress Source # 
Instance details

Defined in Assumptions

ToJSON ExtraStress Source # 
Instance details

Defined in Assumptions

Generic ExtraStress Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep ExtraStress 
Instance details

Defined in Assumptions

type Rep ExtraStress = D1 ('MetaData "ExtraStress" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "ExtraStress" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultFactors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Ts)) :*: (S1 ('MetaSel ('Just "prepaymentFactors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Ts)) :*: S1 ('MetaSel ('Just "poolHairCut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [(PoolSource, Rate)])))))
Read ExtraStress Source # 
Instance details

Defined in Assumptions

Show ExtraStress Source # 
Instance details

Defined in Assumptions

type Rep ExtraStress Source # 
Instance details

Defined in Assumptions

type Rep ExtraStress = D1 ('MetaData "ExtraStress" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "ExtraStress" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultFactors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Ts)) :*: (S1 ('MetaSel ('Just "prepaymentFactors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Ts)) :*: S1 ('MetaSel ('Just "poolHairCut") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [(PoolSource, Rate)])))))

data RevolvingAssumption Source #

Instances

Instances details
FromJSON RevolvingAssumption Source # 
Instance details

Defined in Assumptions

ToJSON RevolvingAssumption Source # 
Instance details

Defined in Assumptions

Generic RevolvingAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep RevolvingAssumption 
Instance details

Defined in Assumptions

Show RevolvingAssumption Source # 
Instance details

Defined in Assumptions

type Rep RevolvingAssumption Source # 
Instance details

Defined in Assumptions

data AssetPrepayAssumption Source #

Instances

Instances details
FromJSON AssetPrepayAssumption Source # 
Instance details

Defined in Assumptions

ToJSON AssetPrepayAssumption Source # 
Instance details

Defined in Assumptions

Generic AssetPrepayAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep AssetPrepayAssumption 
Instance details

Defined in Assumptions

type Rep AssetPrepayAssumption = D1 ('MetaData "AssetPrepayAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (((C1 ('MetaCons "PrepaymentConstant" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "PrepaymentCPR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate))) :+: (C1 ('MetaCons "PrepaymentVec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])) :+: C1 ('MetaCons "PrepaymentVecPadding" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])))) :+: ((C1 ('MetaCons "PrepayByAmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Balance, [Rate]))) :+: C1 ('MetaCons "PrepayStressByTs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AssetPrepayAssumption))) :+: (C1 ('MetaCons "PrepaymentPSA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "PrepaymentByTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Rate]])))))
Read AssetPrepayAssumption Source # 
Instance details

Defined in Assumptions

Show AssetPrepayAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetPrepayAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetPrepayAssumption = D1 ('MetaData "AssetPrepayAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (((C1 ('MetaCons "PrepaymentConstant" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "PrepaymentCPR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate))) :+: (C1 ('MetaCons "PrepaymentVec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])) :+: C1 ('MetaCons "PrepaymentVecPadding" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])))) :+: ((C1 ('MetaCons "PrepayByAmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Balance, [Rate]))) :+: C1 ('MetaCons "PrepayStressByTs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AssetPrepayAssumption))) :+: (C1 ('MetaCons "PrepaymentPSA" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "PrepaymentByTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Rate]])))))

data AssetDefaultAssumption Source #

stress the default assumption by a factor

Constructors

DefaultConstant Rate

using constant default rate

DefaultCDR Rate

using annualized default rate

DefaultVec [Rate]

using default rate vector

DefaultVecPadding [Rate]

using default rate vector, but padding with last rate till end

DefaultByAmt (Balance, [Rate]) 
DefaultAtEnd

default 100% at end

DefaultAtEndByRate Rate Rate

life time default rate and default rate at end

DefaultStressByTs Ts AssetDefaultAssumption 
DefaultByTerm [[Rate]] 

Instances

Instances details
FromJSON AssetDefaultAssumption Source # 
Instance details

Defined in Assumptions

ToJSON AssetDefaultAssumption Source # 
Instance details

Defined in Assumptions

Generic AssetDefaultAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep AssetDefaultAssumption 
Instance details

Defined in Assumptions

type Rep AssetDefaultAssumption = D1 ('MetaData "AssetDefaultAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (((C1 ('MetaCons "DefaultConstant" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "DefaultCDR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate))) :+: (C1 ('MetaCons "DefaultVec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])) :+: C1 ('MetaCons "DefaultVecPadding" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])))) :+: ((C1 ('MetaCons "DefaultByAmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Balance, [Rate]))) :+: C1 ('MetaCons "DefaultAtEnd" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DefaultAtEndByRate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: (C1 ('MetaCons "DefaultStressByTs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AssetDefaultAssumption)) :+: C1 ('MetaCons "DefaultByTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Rate]]))))))
Read AssetDefaultAssumption Source # 
Instance details

Defined in Assumptions

Show AssetDefaultAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetDefaultAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetDefaultAssumption = D1 ('MetaData "AssetDefaultAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (((C1 ('MetaCons "DefaultConstant" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "DefaultCDR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate))) :+: (C1 ('MetaCons "DefaultVec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])) :+: C1 ('MetaCons "DefaultVecPadding" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate])))) :+: ((C1 ('MetaCons "DefaultByAmt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Balance, [Rate]))) :+: C1 ('MetaCons "DefaultAtEnd" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DefaultAtEndByRate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: (C1 ('MetaCons "DefaultStressByTs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AssetDefaultAssumption)) :+: C1 ('MetaCons "DefaultByTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[Rate]]))))))

data RecoveryAssumption Source #

Constructors

Recovery (Rate, Int)

recovery rate, recovery lag

RecoveryTiming (Rate, [Rate])

recovery rate, with distribution of recoveries

RecoveryByDays Rate [(Int, Rate)]

recovery rate, with distribution of recoveries by offset dates

Instances

Instances details
FromJSON RecoveryAssumption Source # 
Instance details

Defined in Assumptions

ToJSON RecoveryAssumption Source # 
Instance details

Defined in Assumptions

Generic RecoveryAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep RecoveryAssumption 
Instance details

Defined in Assumptions

Read RecoveryAssumption Source # 
Instance details

Defined in Assumptions

Show RecoveryAssumption Source # 
Instance details

Defined in Assumptions

type Rep RecoveryAssumption Source # 
Instance details

Defined in Assumptions

projRates :: IRate -> RateType -> Maybe [RateAssumption] -> [Date] -> Either String [IRate] Source #

project rates used by rate type ,with interest rate assumptions and observation dates

Given a list of rates, calcualte whether rates was reset

data LeaseAssetGapAssump Source #

Constructors

GapDays Int

days between leases, when creating dummy leases

GapDaysByCurve Ts

days depends on the size of leases, when a default a default days for size greater

Instances

Instances details
FromJSON LeaseAssetGapAssump Source # 
Instance details

Defined in Assumptions

ToJSON LeaseAssetGapAssump Source # 
Instance details

Defined in Assumptions

Generic LeaseAssetGapAssump Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep LeaseAssetGapAssump 
Instance details

Defined in Assumptions

type Rep LeaseAssetGapAssump = D1 ('MetaData "LeaseAssetGapAssump" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "GapDays" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons "GapDaysByCurve" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts)))
Read LeaseAssetGapAssump Source # 
Instance details

Defined in Assumptions

Show LeaseAssetGapAssump Source # 
Instance details

Defined in Assumptions

type Rep LeaseAssetGapAssump Source # 
Instance details

Defined in Assumptions

type Rep LeaseAssetGapAssump = D1 ('MetaData "LeaseAssetGapAssump" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "GapDays" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons "GapDaysByCurve" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts)))

data LeaseAssetRentAssump Source #

Instances

Instances details
FromJSON LeaseAssetRentAssump Source # 
Instance details

Defined in Assumptions

ToJSON LeaseAssetRentAssump Source # 
Instance details

Defined in Assumptions

Generic LeaseAssetRentAssump Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep LeaseAssetRentAssump 
Instance details

Defined in Assumptions

type Rep LeaseAssetRentAssump = D1 ('MetaData "LeaseAssetRentAssump" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "BaseAnnualRate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: (C1 ('MetaCons "BaseCurve" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts)) :+: C1 ('MetaCons "BaseByVec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate]))))
Read LeaseAssetRentAssump Source # 
Instance details

Defined in Assumptions

Show LeaseAssetRentAssump Source # 
Instance details

Defined in Assumptions

type Rep LeaseAssetRentAssump Source # 
Instance details

Defined in Assumptions

type Rep LeaseAssetRentAssump = D1 ('MetaData "LeaseAssetRentAssump" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "BaseAnnualRate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: (C1 ('MetaCons "BaseCurve" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ts)) :+: C1 ('MetaCons "BaseByVec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate]))))

data NonPerfAssumption Source #

Constructors

NonPerfAssumption 

Fields

Instances

Instances details
FromJSON NonPerfAssumption Source # 
Instance details

Defined in Assumptions

ToJSON NonPerfAssumption Source # 
Instance details

Defined in Assumptions

Generic NonPerfAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep NonPerfAssumption 
Instance details

Defined in Assumptions

type Rep NonPerfAssumption = D1 ('MetaData "NonPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "NonPerfAssumption" 'PrefixI 'True) (((S1 ('MetaSel ('Just "stopRunBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StopBy)) :*: (S1 ('MetaSel ('Just "projectedExpense") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [(FeeName, Ts)])) :*: S1 ('MetaSel ('Just "callWhen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [CallOpt])))) :*: (S1 ('MetaSel ('Just "revolving") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RevolvingAssumption)) :*: (S1 ('MetaSel ('Just "interest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [RateAssumption])) :*: S1 ('MetaSel ('Just "inspectOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [InspectType]))))) :*: ((S1 ('MetaSel ('Just "buildFinancialReport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DatePattern)) :*: (S1 ('MetaSel ('Just "pricing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BondPricingInput)) :*: S1 ('MetaSel ('Just "fireTrigger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [(Date, DealCycle, String)])))) :*: (S1 ('MetaSel ('Just "makeWholeWhen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Date, Spread, Table Float Spread))) :*: (S1 ('MetaSel ('Just "issueBondSchedule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TsPoint IssueBondEvent])) :*: S1 ('MetaSel ('Just "refinance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TsPoint RefiEvent])))))))
Show NonPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep NonPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep NonPerfAssumption = D1 ('MetaData "NonPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "NonPerfAssumption" 'PrefixI 'True) (((S1 ('MetaSel ('Just "stopRunBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StopBy)) :*: (S1 ('MetaSel ('Just "projectedExpense") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [(FeeName, Ts)])) :*: S1 ('MetaSel ('Just "callWhen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [CallOpt])))) :*: (S1 ('MetaSel ('Just "revolving") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RevolvingAssumption)) :*: (S1 ('MetaSel ('Just "interest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [RateAssumption])) :*: S1 ('MetaSel ('Just "inspectOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [InspectType]))))) :*: ((S1 ('MetaSel ('Just "buildFinancialReport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DatePattern)) :*: (S1 ('MetaSel ('Just "pricing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BondPricingInput)) :*: S1 ('MetaSel ('Just "fireTrigger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [(Date, DealCycle, String)])))) :*: (S1 ('MetaSel ('Just "makeWholeWhen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Date, Spread, Table Float Spread))) :*: (S1 ('MetaSel ('Just "issueBondSchedule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TsPoint IssueBondEvent])) :*: S1 ('MetaSel ('Just "refinance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TsPoint RefiEvent])))))))

data AssetDelinquencyAssumption Source #

Constructors

DelinqCDR Rate (Lag, Rate)

Annualized Rate to Delinq status , period lag become defaulted, loss rate, period lag become loss

DelinqByAmt (Balance, [Rate]) (Lag, Rate) 
Dummy3 

Instances

Instances details
FromJSON AssetDelinquencyAssumption Source # 
Instance details

Defined in Assumptions

ToJSON AssetDelinquencyAssumption Source # 
Instance details

Defined in Assumptions

Generic AssetDelinquencyAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep AssetDelinquencyAssumption 
Instance details

Defined in Assumptions

Read AssetDelinquencyAssumption Source # 
Instance details

Defined in Assumptions

Show AssetDelinquencyAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetDelinquencyAssumption Source # 
Instance details

Defined in Assumptions

data AssetDelinqPerfAssumption Source #

Constructors

DummyDelinqAssump 

Instances

Instances details
FromJSON AssetDelinqPerfAssumption Source # 
Instance details

Defined in Assumptions

ToJSON AssetDelinqPerfAssumption Source # 
Instance details

Defined in Assumptions

Generic AssetDelinqPerfAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep AssetDelinqPerfAssumption 
Instance details

Defined in Assumptions

type Rep AssetDelinqPerfAssumption = D1 ('MetaData "AssetDelinqPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "DummyDelinqAssump" 'PrefixI 'False) (U1 :: Type -> Type))
Read AssetDelinqPerfAssumption Source # 
Instance details

Defined in Assumptions

Show AssetDelinqPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetDelinqPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetDelinqPerfAssumption = D1 ('MetaData "AssetDelinqPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "DummyDelinqAssump" 'PrefixI 'False) (U1 :: Type -> Type))

data AssetDefaultedPerfAssumption Source #

Instances

Instances details
FromJSON AssetDefaultedPerfAssumption Source # 
Instance details

Defined in Assumptions

ToJSON AssetDefaultedPerfAssumption Source # 
Instance details

Defined in Assumptions

Generic AssetDefaultedPerfAssumption Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep AssetDefaultedPerfAssumption 
Instance details

Defined in Assumptions

type Rep AssetDefaultedPerfAssumption = D1 ('MetaData "AssetDefaultedPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "DefaultedRecovery" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate]))) :+: C1 ('MetaCons "DummyDefaultAssump" 'PrefixI 'False) (U1 :: Type -> Type))
Read AssetDefaultedPerfAssumption Source # 
Instance details

Defined in Assumptions

Show AssetDefaultedPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetDefaultedPerfAssumption Source # 
Instance details

Defined in Assumptions

type Rep AssetDefaultedPerfAssumption = D1 ('MetaData "AssetDefaultedPerfAssumption" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "DefaultedRecovery" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Rate]))) :+: C1 ('MetaCons "DummyDefaultAssump" 'PrefixI 'False) (U1 :: Type -> Type))

data IssueBondEvent Source #

data TagMatchRule Source #

Constructors

TagEq

match exactly

TagSubset

match subset

TagSuperset

match superset

TagAny

match any tag hit

TagNot TagMatchRule

Negative match

Instances

Instances details
FromJSON TagMatchRule Source # 
Instance details

Defined in Assumptions

ToJSON TagMatchRule Source # 
Instance details

Defined in Assumptions

Generic TagMatchRule Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep TagMatchRule 
Instance details

Defined in Assumptions

type Rep TagMatchRule = D1 ('MetaData "TagMatchRule" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) ((C1 ('MetaCons "TagEq" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TagSubset" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TagSuperset" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TagAny" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TagNot" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TagMatchRule)))))
Read TagMatchRule Source # 
Instance details

Defined in Assumptions

Show TagMatchRule Source # 
Instance details

Defined in Assumptions

type Rep TagMatchRule Source # 
Instance details

Defined in Assumptions

type Rep TagMatchRule = D1 ('MetaData "TagMatchRule" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) ((C1 ('MetaCons "TagEq" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TagSubset" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TagSuperset" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TagAny" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TagNot" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TagMatchRule)))))

data ObligorStrategy Source #

data RefiEvent Source #

Instances

Instances details
FromJSON RefiEvent Source # 
Instance details

Defined in Assumptions

ToJSON RefiEvent Source # 
Instance details

Defined in Assumptions

Generic RefiEvent Source # 
Instance details

Defined in Assumptions

Read RefiEvent Source # 
Instance details

Defined in Assumptions

Show RefiEvent Source # 
Instance details

Defined in Assumptions

type Rep RefiEvent Source # 
Instance details

Defined in Assumptions

data InspectType Source #

Instances

Instances details
FromJSON InspectType Source # 
Instance details

Defined in Assumptions

ToJSON InspectType Source # 
Instance details

Defined in Assumptions

Generic InspectType Source # 
Instance details

Defined in Assumptions

Read InspectType Source # 
Instance details

Defined in Assumptions

Show InspectType Source # 
Instance details

Defined in Assumptions

type Rep InspectType Source # 
Instance details

Defined in Assumptions

data FieldMatchRule Source #

Instances

Instances details
FromJSON FieldMatchRule Source # 
Instance details

Defined in Assumptions

ToJSON FieldMatchRule Source # 
Instance details

Defined in Assumptions

Generic FieldMatchRule Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep FieldMatchRule 
Instance details

Defined in Assumptions

Read FieldMatchRule Source # 
Instance details

Defined in Assumptions

Show FieldMatchRule Source # 
Instance details

Defined in Assumptions

type Rep FieldMatchRule Source # 
Instance details

Defined in Assumptions

data CallOpt Source #

Constructors

LegacyOpts [CallOption]

legacy support

CallPredicate [Pre]

default test call for each pay day, keep backward compatible

CallOnDates DatePattern [Pre]

test call at end of day

Instances

Instances details
FromJSON CallOpt Source # 
Instance details

Defined in Assumptions

ToJSON CallOpt Source # 
Instance details

Defined in Assumptions

Generic CallOpt Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep CallOpt 
Instance details

Defined in Assumptions

Methods

from :: CallOpt -> Rep CallOpt x #

to :: Rep CallOpt x -> CallOpt #

Read CallOpt Source # 
Instance details

Defined in Assumptions

Show CallOpt Source # 
Instance details

Defined in Assumptions

Eq CallOpt Source # 
Instance details

Defined in Assumptions

Methods

(==) :: CallOpt -> CallOpt -> Bool #

(/=) :: CallOpt -> CallOpt -> Bool #

Ord CallOpt Source # 
Instance details

Defined in Assumptions

type Rep CallOpt Source # 
Instance details

Defined in Assumptions

data TradeType Source #

Instances

Instances details
FromJSON TradeType Source # 
Instance details

Defined in Assumptions

ToJSON TradeType Source # 
Instance details

Defined in Assumptions

Generic TradeType Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep TradeType 
Instance details

Defined in Assumptions

type Rep TradeType = D1 ('MetaData "TradeType" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "ByCash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Balance)) :+: C1 ('MetaCons "ByBalance" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Balance)))
Show TradeType Source # 
Instance details

Defined in Assumptions

type Rep TradeType Source # 
Instance details

Defined in Assumptions

type Rep TradeType = D1 ('MetaData "TradeType" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "ByCash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Balance)) :+: C1 ('MetaCons "ByBalance" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Balance)))

data LeaseEndType Source #

Instances

Instances details
FromJSON LeaseEndType Source # 
Instance details

Defined in Assumptions

ToJSON LeaseEndType Source # 
Instance details

Defined in Assumptions

Generic LeaseEndType Source # 
Instance details

Defined in Assumptions

Read LeaseEndType Source # 
Instance details

Defined in Assumptions

Show LeaseEndType Source # 
Instance details

Defined in Assumptions

type Rep LeaseEndType Source # 
Instance details

Defined in Assumptions

data LeaseDefaultType Source #

Instances

Instances details
FromJSON LeaseDefaultType Source # 
Instance details

Defined in Assumptions

ToJSON LeaseDefaultType Source # 
Instance details

Defined in Assumptions

Generic LeaseDefaultType Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep LeaseDefaultType 
Instance details

Defined in Assumptions

type Rep LeaseDefaultType = D1 ('MetaData "LeaseDefaultType" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "DefaultByContinuation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "DefaultByTermination" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)))
Read LeaseDefaultType Source # 
Instance details

Defined in Assumptions

Show LeaseDefaultType Source # 
Instance details

Defined in Assumptions

type Rep LeaseDefaultType Source # 
Instance details

Defined in Assumptions

type Rep LeaseDefaultType = D1 ('MetaData "LeaseDefaultType" "Assumptions" "Hastructure-0.50.0-9tFAxbqhtE23KiGoJqUlJG" 'False) (C1 ('MetaCons "DefaultByContinuation" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)) :+: C1 ('MetaCons "DefaultByTermination" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate)))

data StopBy Source #

Constructors

StopByDate Date

stop by date

StopByPre DatePattern [Pre]

stop by precondition

Instances

Instances details
FromJSON StopBy Source # 
Instance details

Defined in Assumptions

ToJSON StopBy Source # 
Instance details

Defined in Assumptions

Generic StopBy Source # 
Instance details

Defined in Assumptions

Associated Types

type Rep StopBy 
Instance details

Defined in Assumptions

Methods

from :: StopBy -> Rep StopBy x #

to :: Rep StopBy x -> StopBy #

Read StopBy Source # 
Instance details

Defined in Assumptions

Show StopBy Source # 
Instance details

Defined in Assumptions

type Rep StopBy Source # 
Instance details

Defined in Assumptions