Update profit_limit.py

make flake8 compliant
This commit is contained in:
smarmau 2022-09-29 21:40:08 +10:00 committed by GitHub
parent e3012db2bb
commit a0b7e4d4c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,3 @@
import logging
from datetime import datetime, timedelta
from typing import Any, Dict, Optional
@ -21,7 +20,7 @@ class ProfitLimit(IProtection):
self._trade_limit = protection_config.get('trade_limit', 1)
self._required_profit = protection_config.get('profit_limit', 1.0)
def short_desc(self) -> str:
"""
Short method description - used for startup-messages