更新策略引用的例子。
This commit is contained in:
parent
e316b74544
commit
0c5e8de22d
@ -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
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user