Let's suppose we are using Kelp with the balanced strategy and we fund the bot with an equal value of both assets. The bot starts working based on the config parameters and will create buy/sell offers.
Let's suppose someone sends more funds of either asset to the bot's account, this will affect the value of both assets as estimated by the bot, skewing the bot's calculations. This might hamper the functionality when using the balanced strategy, which depends on asset balances to estimate price. An attacker could use this to manipulate the price.
Is there any functionality in Kelp to overcome such an attack?
This question was originally asked as a Github issue, rephrased in the question here: https://github.com/lightyeario/kelp/issues/24