From 483415cd65d2baf0996fa5e1b74365b471493034 Mon Sep 17 00:00:00 2001 From: Matthias Voppichler Date: Wed, 25 Apr 2018 09:03:32 +0200 Subject: [PATCH] Add fee entry to DRY_ORDER dict as defined by ccxt --- freqtrade/exchange/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/exchange/__init__.py b/freqtrade/exchange/__init__.py index 13bc0b3de..32404a2c2 100644 --- a/freqtrade/exchange/__init__.py +++ b/freqtrade/exchange/__init__.py @@ -134,7 +134,8 @@ def buy(pair: str, rate: float, amount: float) -> Dict: 'side': 'buy', 'remaining': 0.0, 'datetime': arrow.utcnow().isoformat(), - 'status': 'closed' + 'status': 'closed', + 'fee': None } return {'id': order_id}