Update profit_limit.py
make flake8 compliant
This commit is contained in:
parent
e3012db2bb
commit
a0b7e4d4c8
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from typing import Any, Dict, Optional
|
from typing import Any, Dict, Optional
|
||||||
@ -21,7 +20,7 @@ class ProfitLimit(IProtection):
|
|||||||
|
|
||||||
self._trade_limit = protection_config.get('trade_limit', 1)
|
self._trade_limit = protection_config.get('trade_limit', 1)
|
||||||
self._required_profit = protection_config.get('profit_limit', 1.0)
|
self._required_profit = protection_config.get('profit_limit', 1.0)
|
||||||
|
|
||||||
def short_desc(self) -> str:
|
def short_desc(self) -> str:
|
||||||
"""
|
"""
|
||||||
Short method description - used for startup-messages
|
Short method description - used for startup-messages
|
||||||
|
Loading…
Reference in New Issue
Block a user