From 4fa736114c1321e274803a4235d08c7e684f0043 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 31 Mar 2019 15:30:22 +0200 Subject: [PATCH] Don't set order_id to none here - it's used in "update_open_order". should fix bugs observed in #1371 connected to stoploss --- freqtrade/freqtradebot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 6f1fb2c99..291b74913 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -472,7 +472,6 @@ class FreqtradeBot(object): stake_amount = order['cost'] amount = order['amount'] buy_limit_filled_price = order['price'] - order_id = None self.rpc.send_msg({ 'type': RPCMessageType.BUY_NOTIFICATION,