Adds python TA-Lib

This commit is contained in:
AlexCatarino
2017-05-08 23:42:53 +01:00
parent e2b9ef0313
commit 4b66a314cb
2 changed files with 13 additions and 1 deletions
@@ -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():