Back to Community
Import different python libraries into IDE

Hi,

Is there any framework for importing additional python libraries into the IDE (e.g. numpy)?
Does anyone have any experience trying to copy the library directly into the IDE (or would that breach some T&C?)

thanks
ralph

18 responses

Ralph, sure you can import a lot of external libraries. Take a look at the list here: https://www.quantopian.com/help#ide-module-import

If there's one you don't see, and want it available in the IDE, let us know.

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.

sweet, thanks!
Some interesting ones from a machine learning point of view could be:

scikit-learn
PyBrain
Fast Artificial Neural Network Library (FANN)
theano
lasagne

As an aside, is there some computational limit placed on algorithms?

I second adding scikit-learn, PyBrain. Pyevolve is another one I'd like to see. Thanks!

Scikot-learn is already available, here's an example: https://www.quantopian.com/posts/having-some-trouble-with-sklearn

And thanks for the other suggestions!

Scikot-learn is already available, here's an example: https://www.quantopian.com/posts/having-some-trouble-with-sklearn

And thanks for the other suggestions!

Neurolab is another good one

with the release of tensorflow (http://www.tensorflow.org/api_docs/python/index.md) I'd love to see what people are working on regarding that library.

I'm using fetch_csv and need to build a URL to access another system. It would be really useful to have access to urllib (specifically urlencode).

Also, I'm working with a colleague and we have configuration in YAML. I'd love to continue using that within algos. Would you make yaml (specifically load(string)) available?

Twython, please!!

I second Ralph's list - the machine/deep learning libraries would open a whole new dimension to implementing efficient trading algorithms.

tensorflow, please.

tensorflow, please.

tensorflow, please.

tensorflow

python-future library for Python 2/3 compatibility.

I need to use the dynamic time warping in Python. I wonder if you could install the following python libraries in the notebooks:

pydtw
mlpy

Hi,

Could you guys also include k-modes? https://github.com/nicodv/kmodes

Thanks

Hi, I would also be interested in testing the dynamic time warping library for trading strategies as mentioned by Amir above. Please let me know whether any supported library in your IDE has this functionality!

Thanks