Closed lucas19961 closed 1 week ago
Hi @lucas19961, You can lose money if you have the flag "buy_from_shop" set to "True", in this case it buys every missing plant from the stores which results in a loss with this sale to the wimp.
To fix this change the line to:
- wurzelBot.sell_to_wimps()
+ wurzelBot.sell_to_wimps(buy_from_shop=False)
I will improve the example and documentation for this feature.
Signature of sell_to_wimps
function:
def sell_to_wimps(self, buy_from_shop: bool = True, minimal_balance: int = 500, method: str = "loss", max_amount: int = 100, max_loss_in_percent: int = 33)
What is my problem? He plants and harvests normally. He sells to the Wimps but my wT decreases. I don't make any money.