Open dpaiton opened 5 months ago
for reference, the accuracy of the python version of predict_trade is too high (#1357). in implementing a rust equivalent, we should ensure it's more accurate.
the first link is for measuring the current value of all your positions
First outlined here: https://github.com/delvtech/agent0/issues/1010 which was closed in favor of this issue.
We want to be able to estimate the future value of a trade as well as predict all outcomes of trades wrt user, pool, fees in base and shares.
Both this task and https://github.com/delvtech/hyperdrive-rs/issues/39 require implementing "pool delta" calc functions.