Skip to content

Bug: APY calculation incorrect after transactions #425

@starksama

Description

@starksama

Description

APY/APR calculation is wrong after transactions (deposit, withdraw, rebalance).

Root Cause

The tx history is not correctly including the transaction just submitted, causing stale/incorrect APY values to be displayed.

Expected Behavior

After a tx completes, the APY should immediately reflect the new state.

Steps to Reproduce

  1. Make a deposit/withdraw/rebalance transaction
  2. Observe the APY display immediately after
  3. APY shows incorrect/stale value

Priority: High

Tags: engineering

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions