Skip to content

Implement feedback controller for redemption rate #95

@0x-r4bbit

Description

@0x-r4bbit

Implement the autonomous P/PI controller that:

  • Computes the error between market price and current redemption price
  • Derives a new redemption rate (positive or negative drift)
  • Applies integral windup safeguard (clamp accumulated error)
  • Updates the redemption price continuously via redemption_price += redemption_rate * Δt
  • Pauses updates if the price feed is stale or unavailable

This needs the price feed oracle.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions