Skip to content

Commit c6db3f2

Browse files
committed
temporary fix for candlestick problems, func.pyx has its own copy of talib and needs to initialize.
1 parent de742b9 commit c6db3f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

talib/func.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ np.import_array() # Initialize the NumPy C API
1717
cimport libc as lib
1818
from libc cimport TA_RetCode
1919

20+
lib.TA_Initialize()
21+
2022
@wraparound(False) # turn off relative indexing from end of lists
2123
@boundscheck(False) # turn off bounds-checking for entire function
2224
def ACOS( np.ndarray real not None ):

0 commit comments

Comments
 (0)