use native python logger

This commit is contained in:
gcarq
2018-03-25 21:37:14 +02:00
parent 3f8d7dae39
commit fa7f74b4bc
14 changed files with 142 additions and 152 deletions

View File

@@ -11,7 +11,7 @@ Optional Cli parameters
--timerange: specify what timerange of data to use.
-l / --live: Live, to download the latest ticker for the pair
"""
import logging
import sys
from argparse import Namespace
@@ -24,11 +24,10 @@ import plotly.graph_objs as go
from freqtrade.arguments import Arguments
from freqtrade.analyze import Analyze
from freqtrade import exchange
from freqtrade.logger import Logger
import freqtrade.optimize as optimize
logger = Logger(__name__).get_logger()
logger = logging.getLogger(__name__)
def plot_analyzed_dataframe(args: Namespace) -> None:

View File

@@ -10,7 +10,7 @@ Optional Cli parameters
-s / --strategy: strategy to use
--timerange: specify what timerange of data to use.
"""
import logging
import sys
import json
from argparse import Namespace
@@ -24,13 +24,12 @@ import plotly.graph_objs as go
from freqtrade.arguments import Arguments
from freqtrade.configuration import Configuration
from freqtrade.analyze import Analyze
from freqtrade.logger import Logger
import freqtrade.optimize as optimize
import freqtrade.misc as misc
logger = Logger(__name__).get_logger()
logger = logging.getLogger(__name__)
# data:: [ pair, profit-%, enter, exit, time, duration]