Skip to content

[CLO] Implement query for WAS #292

@yellowbean

Description

@yellowbean

Goal

User shall able to query the weighted average of "spreads" on the loan asset.

Spec

("PoolWaSpread", <PoolID>....)
("BondWaSpread", <BondID>....)

If it is fixed -> 0
If it is float -> number

Weighted averaged by current loan balance

Parameters

  • it takes a Maybe (pool id)
  • if it nothing, then query all the asset in the collateral

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions