Python for Algorithmic Trading

Hello everyone!

I decided to try my hand at algorithmic trading using Python and would like to know your opinion.

  1. What libraries for trading can you choose? I have heard about Pandas, NumPy, TA-Lib, zipline, backtrader. Which ones do you like and why?

  2. What strategies have you tried? Maybe there are some interesting examples that would be worth trying?

  3. Where do you get data for testing? How do you integrate it into your scripts?

  4. How do you assess risks and optimize strategies? What metrics can there be?

  5. Who has already automated education in the markets? Which brokers have you worked with and how did it go?

I will be glad to receive any advice and ideas! Let’s share experiences.

I use backtrader for my strategies. Great library with tons of features! For data, I use APIs that are easy to integrate—EODHD is a good one.

I recommend trying our library, which is very easy to integrate into your project. You can follow this link to learn more about it.

1 Like

Hi everyone! I’m new to algorithmic trading but already tried TA-Lib for technical indicators—it’s super helpful! I test strategies on historical data, which I download via API. Don’t know much about risks yet, but I stick to stop losses to manage them.

I automate my trading using an API from my broker that supports Python, works pretty well and saves time. My strategies are mostly based on ARIMA models for time series forecasting. I get historical data from the API too; keeps everything simple.

I’m sure all the libraries you mentioned are good, but if you want to easily integrate high-quality data into your project from EODHD, I recommend using the specific library I mentioned earlier in the comment.