Excelling with & without Excel

Excelling with & without Excel

Travel does many things. The cliche tells us that it broadens the mind. Holidays are the tonic for the whispering monotony of the routine. Yet a holiday is never purely a matter of joy. Within the idea of holiday are bound up the logistics of transportation. None of us book a holiday for the experience of being squeezed on to a flight for hours, at the mercy of delays and heavily processed airline food. However, being able to get to our destination, is a necessary part of any holiday to far away places. Of course we could forgo that long airline journey, but then we'd forgo those sandy beaches, beneath the sunny rays of heat, and instead settle for staying at home.

When trying to analyse markets, we are in a way faced with similar conundrum. We want to find some novel and interesting way to look at market data. However, very often this route is laced with an Excel spreadsheet! Sometimes this approach can work very well, in particular given Excel spreadsheets are the preferred way to share ideas with traders.. but as soon as you have just a bit more data there, a spreadsheet can become unbearably slow to recalculate. Furthermore, when the complexity of your analysis rises, a spreadsheet can become increasingly unstable and easy to break. 

In a sense, there are only certainties in life for a quant researcher: having to use Excel and moaning about having to use Excel. I have to say that I have at times, used Excel far more than perhaps I should have done. One reason is that it makes it easy to explore simple ideas. The difficulty is that very often simple ideas, become very complicated very quickly! Whilst it might save time to use Excel initially, it makes it more difficult to reuse analysis and cost you in the longer term. As for using big datasets like news data, Excel is basically unworkable. Hence, it limits the type of analysis you can do.

To try to get past the issues with Excel, I started writing PyThalesians, an open source Python financial library over a year ago. I wanted to streamline the bulk of my analysis. Rather than reinventing the wheel every single time each time I want to do a new sort of analysis, I've tried to write functions of commonly used financial analysis. These can easily be used again and again, with small modifications. I've now written functions to do basic backtesting of trading strategies, plotting, and market data downloading from many sources including Bloomberg. In particular, I've tried to focus on making the various components interchangeable. Want to change the data source you're using? Just a few lines of code need to be changed, not the the details in your trading algorithm. Want to change how you plot your results? Again, just change a keyword in your code. I've designed the code from the perspective of my experience as a quant researcher and someone who enjoys coding, as opposed to purely looking at it as an IT problem to be solved.

Along the way I've utilised many great open source libraries such as pandas (time series), NumPy (mathematical computations), matplotlib, bokeh and plotly (plotting). Since it's open source, I'm hoping over time, that if users find it useful, they can contribute their own improvements to the library too. We can also blend the two solutions using libraries such as xlwings, which allow us to call complicated calculations in Python and display the results in Excel. In this way, traders who love Excel can still create funky models in Python, but fall back in the familiarity of Excel.

So ok, we often moan about having to use Excel (including me!), but sometimes we can excel both with and without it, if we use a bit of Python (and hopefully PyThalesians!)

Like my writing? Have a look at my book Trading Thalesians - What the ancient world can teach us about trading today is on Palgrave Macmillan. You can order the book on Amazon. Drop me a message if you're interested in me writing something for you or creating a systematic trading strategy for you! Please also come to our regular finance talks in London, New York, Budapest, Prague, Frankfurt, Zurich & San Francisco - join our Meetup.com group for more details here (Thalesians calendar below)

14 Mar - San Francisco - Quant Fintech Mixer Event
15 Mar - New York - Thalesians/IAQF - Alex Lipton - Modern Monetary Circuit Theory
21 Mar - London - Robin Hanson - Robin Hanson, Economics when robots rule the Earth
20 Apr - London - Oskar Mencer - FRTB, RWA, XVA, Scenarios, MiFiD II, fast?
13 May - Budapest - Saeed Amen/Paul Bilokon - Thalesians workshop on algo trading at Global Derivatives
20 May - London - Martin Bridson - Knots and what not

This blog post originally appeared on the Thalesians blog here.

To view or add a comment, sign in

More articles by Saeed Amen

  • The choice decision

    You always have choices. Should I order cheese in my burger? Should I choose the cheese or cream knafa? There are also…

    1 Comment
  • Neudata London March 2026

    A decade ago, I liked burgers, and a decade on, well, I still like burgers. However, one thing that has changed greatly…

    4 Comments
  • It's five to eleven

    Whenever I travel somewhere, I like to read books about the place I'm visiting. It helps in way to provide some context…

    3 Comments
  • TradeTech FX USA 2026

    Over recent years, the finance community in Miami has grown, given that a number of hedge funds have opened up large…

    1 Comment
  • AI coding is like making a burger with sugar

    Have you ever had a burger, and then noticed something is kind of off. You’re hunting for the reason.

    3 Comments
  • Hundreds of quant papers from #QuantLinkADay in 2025

    I tweet a lot (from @saeedamenfx and at BlueSky at @saeedamenfx.bsky.

  • QuantMinds London 2025

    "Are you on mute?" is perhaps the most succinct catchphrase which most comprehensively describes the post-covid…

    5 Comments
  • What would you have said?

    I recently went back to Imperial College. Whilst, I've been back many times since I graduated, this was the first time…

    8 Comments
  • Quant Strats London 2025

    Quant Strats has been a feature of the quant calendar for a number of years. I went to my first event recently after a…

    2 Comments
  • WBS Training Palermo Conference 2025

    Italy is made up of twenty regions, each of which is very different from another, from Veneto to Lazio to Puglia. Two…

    1 Comment

Others also viewed

Explore content categories