Connors Research Traders Journal (Volume 37): How Programming in Python Can Improve Your Trading Results – Part Two

A Message From Larry Connors

Over the past 15 years, we’ve made a significant investment both in time and money into Amibroker. As a whole, this has been one of the better investments we’ve ever made. Along the way, many hundreds and likely thousands of our customers followed our lead and moved onto Amibroker, especially for strategy testing.  

Over the past two years, I’ve been reading more and more about how the top quant trading firms were moving onto Python. Python is an open source programming language developed with the intent of simplicity. It’s widely used in many industries by many of the largest organizations including Amazon, Google. and NASA.  In 2018 it was selected as programming language of the year because of its vast use and ability. This use now includes the financial markets industry and trading.   

In 2008 AQR Capital Management, now the second largest hedge fund in the world, introduced pandas. Pandas is a software library written for Python specifically designed for data manipulation and analyses.     

In layman’s terms, it’s basically a better, more powerful version of Excel. This opened the door for professionals in the trading industry to do their research on data faster and more efficiently.    

AQR made pandas open source. This means there’s more than a decade of programming available for Python users that’s been developed by some of the best minds in the financial markets. And this code is free for everyone to use. 

After researching Python further, I’ve made the decision to begin moving all our programming and testing onto Python. I’ve hired Chris Cain to lead the move for us. I believe this move will pay off in our ability to build more and even better trading strategies in the future at a much faster pace, especially because we now have access to the programming code of many of the best and most brilliant quant programmers who use Python and pandas at their trading firms.   

We’ll continue to support Amibroker and TradeStation. I know many people have put time into it. But as we move ahead, I’m excited by the many possibilities Python brings and we’ll be joining the hundreds of quant firms who are already using it.   

Chris has written a two-part series on what Python is, why Python for Traders is different, and how you can apply Python in the future as the best quant trading firms in the world have done.   

I hope you enjoy this series. if you have any questions on this, please feel free to email me at lconnors@connorsresearch.com or Chris at ccain@connorsresearch.com.   

Larry


 

As mentioned in the previous article, the Python coding language is becoming the dominant coding language for the finance and trading industries. It’s a necessary skill for many jobs at the largest and most sophisticated hedge funds and trading desks in the world – including job titles such as quantitative researcher, algorithmic trader, systematic portfolio manager, and risk manager.

Python is not limited to professionals. Because it’s so simple to learn and easy to use compared to the other programming languages, many top individual traders have also migrated away from EasyLanguage and Amibroker to Python. In my opinion, these traders have a large advantage over the traders who are programming in antiquated languages.

In the future, these advantages will only become larger because Python is open source which means thousands of traders worldwide will make the language even more powerful and widely used.

The Advantages of Python

Why has Python become the language of choice?  What advantages does it offer over other languages?  How can learning Python improve both your personal trading performance as well as your prospects for breaking into the lucrative investment and trading industry?  Below I outline a number of the main benefits of Python:

What are ‘libraries’, you might ask?  Think of them as “add-ons” to the language, which extends the functionality of the language in huge and important ways. Being that Python is an open source technology (more on that in a second), libraries are written for Python continuously and from any developer in the world.  This means with Python, you’ll have access to the same tools developed by many of the best programming minds in the financial markets! 

Think of this as a way for multiple traders and entities to collaborate openly to further the development of the technology.  This has a number of key advantages:

  1. Being open source, any developer can write libraries for Python and extend the functionality of the language.  This stands in contrast to a technology such as TradeStation’s EasyLanguage, which would require the owner of the language (in this case TradeStation) to extend the functionality of the language.
  2. Permission to use Python is not required; you’ll have permanent access. Python is free to everyone!
  3. Python can do more things than many languages including EasyLanguage and Amibroker’s AFL. The list is endless. I’ll go deeper into this in the webinar I’m holding next week. (link here)

I’m partial to Quantopian as are many other traders globally.  In fact, Larry is going to be a panelist at Quantopian’s annual conference being held in April in Boston this year.

Simply put, Python skills will lead you on a faster path to finding more profitable trading strategies. Learning Python for quantitative finance and trading has the additional benefit of greatly increasing one’s career prospects, as these skills are in high demand from the largest, most successful trading desks, and hedge funds in the world.

The bottom line is that Python will make you a better trader and researcher almost immediately.

Free Programming in Python For Traders Webinar

If you’d like more information on learning how to program in Python, I will be holding a free webinar on Tuesday, February 26 (now sold out!), Thursday, February 28, and Tuesday, March 5 at 1:00 pm EST. Click here to sign up for my free webinar.

Sincerely,

Chris

Chris Cain

Connors Research, LLC.

Receive The Connors Research Traders Journal Free To Your Inbox

CLICK HERE to sign up to receive new issues of the Connors Research Traders Journal newsletter directly via email up to 3 times a week!