TAlib without numpy

David_BelvedereDavid_Belvedere Posts: 19
edited January 2017 in News and Feature Releases

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?

Tagged:

Comments

  • superquantsuperquant Posts: 28
    edited July 2017

    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.

Sign In or Register to comment.