Add docstring to TimeRange class
This commit is contained in:
parent
f37c5b70ba
commit
cac6e0d715
@ -13,7 +13,11 @@ from freqtrade import __version__, constants
|
|||||||
|
|
||||||
|
|
||||||
class TimeRange(NamedTuple):
|
class TimeRange(NamedTuple):
|
||||||
|
"""
|
||||||
|
NamedTuple Defining timerange inputs.
|
||||||
|
[start/stop]type defines if [start/stop]ts shall be used.
|
||||||
|
if *type is none, don't use corresponding startvalue.
|
||||||
|
"""
|
||||||
starttype: Optional[str] = None
|
starttype: Optional[str] = None
|
||||||
stoptype: Optional[str] = None
|
stoptype: Optional[str] = None
|
||||||
startts: int = 0
|
startts: int = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user