Merge pull request #2258 from hroff-1902/dont-inherit-from-object
Minor: class cosmetics
This commit is contained in:
		| @@ -7,7 +7,7 @@ from typing import Optional | |||||||
| import arrow | import arrow | ||||||
|  |  | ||||||
|  |  | ||||||
| class TimeRange(): | class TimeRange: | ||||||
|     """ |     """ | ||||||
|     object defining timerange inputs. |     object defining timerange inputs. | ||||||
|     [start/stop]type defines if [start/stop]ts shall be used. |     [start/stop]type defines if [start/stop]ts shall be used. | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ from freqtrade.state import RunMode | |||||||
| logger = logging.getLogger(__name__) | logger = logging.getLogger(__name__) | ||||||
|  |  | ||||||
|  |  | ||||||
| class DataProvider(): | class DataProvider: | ||||||
|  |  | ||||||
|     def __init__(self, config: dict, exchange: Exchange) -> None: |     def __init__(self, config: dict, exchange: Exchange) -> None: | ||||||
|         self._config = config |         self._config = config | ||||||
|   | |||||||
| @@ -28,7 +28,7 @@ class PairInfo(NamedTuple): | |||||||
|     avg_trade_duration: float |     avg_trade_duration: float | ||||||
|  |  | ||||||
|  |  | ||||||
| class Edge(): | class Edge: | ||||||
|     """ |     """ | ||||||
|     Calculates Win Rate, Risk Reward Ratio, Expectancy |     Calculates Win Rate, Risk Reward Ratio, Expectancy | ||||||
|     against historical data for a give set of markets and a strategy |     against historical data for a give set of markets and a strategy | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user