Skip to content

Instantly share code, notes, and snippets.

@cmbrown1598
Created October 26, 2017 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmbrown1598/5d34319ea6ef752097d0dbd486294498 to your computer and use it in GitHub Desktop.
Save cmbrown1598/5d34319ea6ef752097d0dbd486294498 to your computer and use it in GitHub Desktop.
type Name = string
type Percentage = decimal
type Return = decimal
type TargetReturn = decimal
type Model = Name
type Allocation = ( Model * Percentage ) list
type MarketValue = decimal
type AccountReturn = Return
type Account = {
TAllocations : Allocation * MarketValue;
TMinusOneAllocations: Allocation * MarketValue;
Return: AccountReturn
}
type ModelReturn = decimal * Model
type RealizedTrackingError = AccountReturn -> TargetReturn
type SleeveReturn = ModelReturn -> RealizedTrackingError
type SleevedMarketValue = Allocation -> MarketValue
// no tracking error return
type SleeveLevelPerformance = Account -> ModelReturn list -> TargetReturn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment