Currently changes to a bot (and deal?) affects/resets its statistics.
If possible this shouldn’t happen. Adding manual safety orders or using -1 (unlimited) also affects the statistics without resulting in resets.
If changes of the stats cannot be secured, the user should be given a chance to stop the current bot and start a new bot with the updated configuration.
Reliable and consistent stats, would surely support users with their portfolio and fund management.