Skip to content

[CLO] Implement query for WAS #292

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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