From 0c5e8de22d6acc8d7f1dff36f3f34fc1b8a5fcb2 Mon Sep 17 00:00:00 2001 From: msincenselee Date: Sun, 11 Jun 2017 22:23:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=AD=96=E7=95=A5=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BE=8B=E5=AD=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trader/app/ctaStrategy/strategy/strategyAtrRsi.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/trader/app/ctaStrategy/strategy/strategyAtrRsi.py b/trader/app/ctaStrategy/strategy/strategyAtrRsi.py index 15b4df69..7afe49c2 100644 --- a/trader/app/ctaStrategy/strategy/strategyAtrRsi.py +++ b/trader/app/ctaStrategy/strategy/strategyAtrRsi.py @@ -10,16 +10,14 @@ """ -import talib -import numpy as np import os import sys -cta_strategy_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) -trader_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')) -sys.path.append(cta_strategy_path) -from ctaBase import * -from ctaTemplate import CtaTemplate +import talib +import numpy as np + +from trader.app.ctaStrategy.ctaBase import * +from trader.app.ctaStrategy.ctaTemplate import CtaTemplate ########################################################################