optimize imports

This commit is contained in:
gcarq
2018-03-17 22:44:47 +01:00
parent d8689e5045
commit d2aea7bdc1
36 changed files with 101 additions and 69 deletions

View File

@@ -2,9 +2,10 @@
import talib.abstract as ta
from pandas import DataFrame
import freqtrade.vendor.qtpylib.indicators as qtpylib
from freqtrade.strategy.interface import IStrategy
from freqtrade.indicator_helpers import fishers_inverse
from freqtrade.strategy.interface import IStrategy
class_name = 'DefaultStrategy'

View File

@@ -4,6 +4,7 @@ This module defines the interface to apply for strategies
"""
from abc import ABC, abstractmethod
from pandas import DataFrame

View File

@@ -7,11 +7,12 @@ import importlib
import os
import sys
from collections import OrderedDict
from pandas import DataFrame
from freqtrade.logger import Logger
from freqtrade.constants import Constants
from freqtrade.strategy.interface import IStrategy
from pandas import DataFrame
from freqtrade.constants import Constants
from freqtrade.logger import Logger
from freqtrade.strategy.interface import IStrategy
sys.path.insert(0, r'../../user_data/strategies')