Skip to content

the “net flow” shows a very large value. #32

@stoneton

Description

@stoneton

Hello,

I’m using the BasketLiquidation module of CFMMRouter.jl to detect a cyclic arbitrage (from USDC back to USDC) across a set of Uniswap V2 pools, and I’ve run into a strange issue:
1. The reported “actual input amount” is always 0;
2. Yet the “net flow” shows a very large value.

Could anyone shed some light on what might be causing this inconsistency? For example, could it be due to parameter settings, the way I’m calling the function, or CFMMRouter.jl’s internal calculation logic? Has anyone encountered something similar? I’d really appreciate any insights!

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