Plot_profit.py: Fix Flake8 warnings
This commit is contained in:
parent
152c4483c8
commit
cf78da5fae
|
@ -15,7 +15,6 @@ import sys
|
||||||
import json
|
import json
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
from plotly import tools
|
from plotly import tools
|
||||||
from plotly.offline import plot
|
from plotly.offline import plot
|
||||||
|
@ -29,8 +28,6 @@ from freqtrade.logger import Logger
|
||||||
import freqtrade.optimize as optimize
|
import freqtrade.optimize as optimize
|
||||||
import freqtrade.misc as misc
|
import freqtrade.misc as misc
|
||||||
|
|
||||||
import pprint
|
|
||||||
|
|
||||||
|
|
||||||
logger = Logger(name="Graph profits").get_logger()
|
logger = Logger(name="Graph profits").get_logger()
|
||||||
|
|
||||||
|
@ -192,6 +189,7 @@ def define_index(min_date, max_date, interval):
|
||||||
"""
|
"""
|
||||||
return int((max_date - min_date) / (interval * 60))
|
return int((max_date - min_date) / (interval * 60))
|
||||||
|
|
||||||
|
|
||||||
def plot_parse_args(args):
|
def plot_parse_args(args):
|
||||||
"""
|
"""
|
||||||
Parse args passed to the script
|
Parse args passed to the script
|
||||||
|
|
Loading…
Reference in New Issue