TAlib without numpy
David_Belvedere
Posts: 19
Hi all,
I created tick bars so I could perform strategies based on number of ticks instead of just minutes. The issue I am facing here is that when I try to pass a list into TAlib, it gives me the following error:
TypeError: Argument 'real' has incorrect type (expected numpy.ndarray, got list)
So I suppose I cannot use TAlib for my tick bars, as TAlib requires a numpy array (which is why this currently works with bar.close). Is this correct or is there a workaround? I cannot convert my array to a numpy array since it would be useless if I wanted to trade it live.
The only solutions I see right now are to implement my own version of the TAlib functions.
Thoughts/suggestions?
Comments
Hi David,
Great news! numpy is now available for CloudQuant users as are a number of other data science and machine learning packages! If you have something else you need please let us know.
Here is a link to the current package list : https://app.cloudquant.com/application/#/glossary/351
Thanks for your question.