comment updates, formatting, TODOs

This commit is contained in:
Sam Germain
2021-09-08 01:53:42 -06:00
parent 1379ec7402
commit 695a8fc73b
7 changed files with 58 additions and 39 deletions

View File

@@ -549,7 +549,7 @@ class LocalTrade():
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)
# This wll only print the original amount
# TODO-lev: This wll only print the original amount
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'))