Closed obvioussummer46 closed 2 years ago
Good idea. Jet can store the min of prospective rebalances it encounters and factor it into fee analysis.
two new columns will be added to jet rebalance-history, ppm and min, with 'ppm' being actual ppm used during rebalance and 'min' being the min ppm needed to rebalance in case of a failure due to higher fee.
When jet tries to rebalance and fails due to high fee, it sees the min fee that would be required to rebalance. So would be great if it could save this data and provide it as a recomendation per peer, like rebalance will likely to go through with X ppm