From 689174ea0d8a657deeeec9e06d17720f81910595 Mon Sep 17 00:00:00 2001 From: Sam Germain Date: Mon, 31 Jan 2022 04:12:37 -0600 Subject: [PATCH] removed TODO-lev comments --- freqtrade/persistence/models.py | 3 +-- tests/conftest.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/freqtrade/persistence/models.py b/freqtrade/persistence/models.py index d388d84b8..7c65fbc86 100644 --- a/freqtrade/persistence/models.py +++ b/freqtrade/persistence/models.py @@ -567,8 +567,7 @@ class LocalTrade(): elif order_type in ('market', 'limit') and self.exit_side == order['side']: if self.is_open: payment = "BUY" if self.is_short else "SELL" - # TODO-lev: On shorts, you buy a little bit more than the amount (amount + interest) - # TODO-lev: This wll only print the original amount + # * On margin shorts, you buy a little bit more than the amount (amount + interest) logger.info(f'{order_type.upper()}_{payment} has been fulfilled for {self}.') # TODO-lev: Double check this self.close(safe_value_fallback(order, 'average', 'price')) diff --git a/tests/conftest.py b/tests/conftest.py index 2246c9ded..1d8826f01 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1014,8 +1014,7 @@ def get_markets(): 'percentage': True, 'taker': 0.0006, 'maker': 0.0002, - # TODO-lev: `contractSize` should be numeric - this is an open bug in ccxt. - 'contractSize': '10', + 'contractSize': 10, 'active': True, 'expiry': None, 'expiryDatetime': None,