Making the (partial) leap from Excel to Python

Making the (partial) leap from Excel to Python

Next week, I'm going to speak at TradeTech FX Asia on the following subject "Life after Excel, using open source Python to analyse FX markets and develop FX trading strategies". I am not sure why I chose such a long title, but anyway, it's done now, and I've got to think of something useful to say now on the subject, aside from bemoaning its length, and my inability to find a short snappy title. On the subject of Excel, I've been in the industry for a while now, and whilst many things have changed, the seemingly invisible umbilical cord between trading desks and Excel is something that has persisted over time. Why is this the case? Well, Excel is relatively intuitive to use. You can see all your data, you can see all the formulae and you plot your data with a few clicks. If your spreadsheets are small, then everything is as tasty as a burger (that idiom might not work so well, if you don't like burgers however).

The difficulty is of course when your spreadsheets balloon in size. I've been there. Done that. Linking together multiple spreadsheets each sized over 100 MB. Waiting for the hourglass to fade, whilst it calculates, peppered by the random act of crashing, cast in the occasional shadow of a Windows blue screen of death. I've often written about the benefits of using Python before, but even I have to admit there's a learning curve to getting acquainted with Python code, which is somewhat steeper than understanding the basics of Excel. So what can I say in my talk, which will persuade people to discard Excel and move to Python? I can't think of any reason, so instead, I've come to the conclusion that it's best to stick with Excel and start using Python at the same time! The idea is to take the best bits of Excel, the simplicity of the interface and combine it with Python for doing complicated back end computations. This way we can keep the simplicity of Excel and the fact that users are already familiarity with it, but at the same time dispense with the problems of doing heavy duty computations in Excel, and those infamous never ending calculations that plague big spreadsheets...

To see the rest of the post, please click here to go to the Cuemacro website

George Mount

Analytics & AI for Modern Excel ?? LinkedIn Learning Instructor ?? Microsoft MVP ?? O'Reilly Author ??

8 年

Loved this bit: "So what can I say in my talk, which will persuade people to discard Excel and move to Python? I can't think of any reason, so instead, I've come to the conclusion that it's best to stick with Excel and start using Python at the same time!" There is a reason people like Excel - it is intuitive. I like the approach of augmenting with Python rather than replacing. Just curious - are there parts of your presentation that do things with Python for Excel that are not available in VBA? Would you suggest people who want to pair Python with Excel also learn VBA, or do you see Python as a complete replacement?

Mahmoud Mahfouz

VP AI Research Lead at J.P. Morgan | Doctoral Researcher at Imperial College London

8 年

I think you should check this out https://www.xlwings.org it's perfect for people who still prefer using Excel but instead of using vba you write your code in python notebooks.

要查看或添加评论,请登录

Saeed Amen的更多文章

  • Learning from running financial models live

    Learning from running financial models live

    Let's say you are the world's best burger chef (we all have ambitions, right). You'd be serving up all manner of…

    1 条评论
  • DeepSeek, objectives and constraints

    DeepSeek, objectives and constraints

    When a new burger joint opens up, there's often a buzz. Everyone (well, at least me) wants to try the new burger.

    1 条评论
  • Hundreds of quant papers from #QuantLinkADay in 2024

    Hundreds of quant papers from #QuantLinkADay in 2024

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

  • What we’ve learnt from reading thousands of Fed communications

    What we’ve learnt from reading thousands of Fed communications

    We recently had the last FOMC decision of 2024. Market l participants reacted to the hawkish tone including Powell’s…

    1 条评论
  • Takeaways from QuantMinds 2024 in London

    Takeaways from QuantMinds 2024 in London

    Over the past years, the quant industry has changed substantially. My first visit to Global Derivatives was just over a…

    12 条评论
  • Takeaways from Web Summit 2024

    Takeaways from Web Summit 2024

    Think of Lisbon and no doubt it’ll conjure images of explorers setting sail in centuries past across the ocean, the…

    1 条评论
  • FILS Europe 2024 Takeaways

    FILS Europe 2024 Takeaways

    Paris is home to many things, the Eiffel Tower, the Arc de Triomphe, burgers (ok, I made that one up!). In recent…

    4 条评论
  • Don't look back in hangar steak

    Don't look back in hangar steak

    I'm currently in the queue for Oasis tickets. Rather than mindlessly watching the counter of people in the queue ahead…

    5 条评论
  • The Olympic spirit for forecasting

    The Olympic spirit for forecasting

    The Olympics finally finished, and the Paralympics are about to begin. I managed to go to some of the Olympic football…

  • Eleven years of independence

    Eleven years of independence

    Regrets become ever more edged with the passing of time. Recalling a time long gone, when perhaps a decision made, was…

    5 条评论

社区洞察

其他会员也浏览了