Adds python TA-Lib
This commit is contained in:
@@ -45,7 +45,7 @@ import cvxopt
|
||||
import cvxpy
|
||||
from pykalman import KalmanFilter
|
||||
import statsmodels.api as sm
|
||||
|
||||
import talib
|
||||
|
||||
class PythonPackageTestAlgorithm(QCAlgorithm):
|
||||
'''Basic template algorithm simply initializes the date range and cash'''
|
||||
@@ -82,6 +82,9 @@ class PythonPackageTestAlgorithm(QCAlgorithm):
|
||||
# pykalman test
|
||||
pykalman_test()
|
||||
|
||||
# talib test
|
||||
print "talib test >>>", talib.SMA(numpy.random.random(100))
|
||||
|
||||
def OnData(self, data): pass
|
||||
|
||||
def blaze_test():
|
||||
|
||||
Reference in New Issue
Block a user