Merge pull request #2258 from hroff-1902/dont-inherit-from-object

Minor: class cosmetics
This commit is contained in:
Matthias 2019-09-12 15:18:42 +02:00 committed by GitHub
commit 64b404068f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ from typing import Optional
import arrow
class TimeRange():
class TimeRange:
"""
object defining timerange inputs.
[start/stop]type defines if [start/stop]ts shall be used.

View File

@ -17,7 +17,7 @@ from freqtrade.state import RunMode
logger = logging.getLogger(__name__)
class DataProvider():
class DataProvider:
def __init__(self, config: dict, exchange: Exchange) -> None:
self._config = config

View File

@ -28,7 +28,7 @@ class PairInfo(NamedTuple):
avg_trade_duration: float
class Edge():
class Edge:
"""
Calculates Win Rate, Risk Reward Ratio, Expectancy
against historical data for a give set of markets and a strategy