Behaviour that will compare external price signal with pool state to find arbitrage gaps, calculate the most profitable trade within set boundaries (transaction_cost, max_liquidity...) and in case it is found, signal _swap_exact_amountin state update.
Behaviour that will compare external price signal with pool state to find arbitrage gaps, calculate the most profitable trade within set boundaries (transaction_cost, max_liquidity...) and in case it is found, signal _swap_exact_amountin state update.
Current mathematical research doc