Skip to content

calculate_targeted_long #864

@jalextowle

Description

@jalextowle

We should add a function to the Rust SDK that calculates the long amount that brings the pool to a targeted effective rate (including fees). Traders could use this to calculate the optimal trade to make given their expected future variable rate.

Metadata

Metadata

Assignees

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