更新策略引用的例子。

This commit is contained in:
msincenselee 2017-06-11 22:23:13 +08:00
parent e316b74544
commit 0c5e8de22d

View File

@ -10,16 +10,14 @@
""" """
import talib
import numpy as np
import os import os
import sys 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) import talib
from ctaBase import * import numpy as np
from ctaTemplate import CtaTemplate
from trader.app.ctaStrategy.ctaBase import *
from trader.app.ctaStrategy.ctaTemplate import CtaTemplate
######################################################################## ########################################################################