I probably haven’t had as many burgers in recent months as usual. However, I am of endeavouring to make up for that in the coming months! The thing with burgers is, that it’s not just about the taste. It’s also about how good it looks. Even the tastiest burger in the world isn’t going to…
Category: Python
Data, General, Python
Keeping data vendor APIs simple
by Saeed Amen •
Just imagine that every time you went into a shop, you had to change your clothes, because they had a different dress code? Say your grocer would insist on only people wearing yellow, whilst your supermarket would require red clothes only.. Ok, that’s a somewhat ridiculous example, which would never happen. In practice, we can…
General, Python
Pick the technology for the task
by Saeed Amen •
Ok, the past few months haven’t been the most exciting for most folks. Slowly, at least in the UK, things are getting back to “normal”. This week, there was also a very good sign (in my view), I found that Badiani had opened up in Canary Wharf, which serves Italian gelato. Although, I must admit,…
General, Macro, Python
How to learn Python for finance
by Saeed Amen •
The question I get asked most is, what is your favourite burger joint? The answer.. well, you’ll have to ask me! The second question I get asked a lot, particularly in recent months, is how can I learn Python if I’m working in finance? I will endeavour to answer that question, updating and adding to…
General, Python
Ways to distribute your open source Python code
by Saeed Amen •
I recently cooked a burger. We was the objective of cooking the burger? Well, to eat it! Cooking a burger, without eating it, seems like somewhat of a pointless exercise and frankly a waste of food. I suppose you could argue that you might cook a burger to learn how to cook, but ultimately, even…
Data, General, Python
Why try Linux for Python and how
by Saeed Amen •
I went on a long walk yesterday. You could argue that it was pointless. I was going nowhere in particular, and ended up where I started. However, on the way I got a bit of exercise, and it was a nice break from being at home. Another good reason is that I often seem to…
Data, Foreign Exchange, General, Python, TCA
Using Python to explore FX market microstructure
by Saeed Amen •
I am sure like most readers, I’ve lost count of the number of weeks since things were “normal”. When will things get back normal? Maybe weeks or more likely months? I suppose that using a Python function random.random(), might be the best approach here! However, in the meantime, I’ve been trying to work hard at…
Data, Foreign Exchange, Python, TCA
How to do TCA with tcapy in Python
by Saeed Amen •
Over the past few years, I’ve been working on tcapy, a transaction cost analysis library in Python, which I’ve recently open sourced. As a result I’ve been thinking about TCA for a long time. Why is it important to do transaction cost analysis on your trades? Ultimately doing TCA can save you money on your…
Data, General, Python, TCA
Speeding up tick data calculations in Python
by Saeed Amen •
Time, time, time. At the current moment, we likely have a bit more time than usual. Despite this, it’s unlikely any of us actively want to wait longer for code to execute! Last week, I wrote about libraries for working with large datasets, like Dask and Vaex, or using databases like kdb+/q. This week, I’ll…
Data, General, Python
Libraries for large datasets in Python
by Saeed Amen •
People say the best way to learn something is to teach it. It’s obviously a bit of cliche, but I have to admit it’s one of things which really does ring true. When I’m researching the markets or coding something, I’m generally pretty focused at the task at hand. I’ll learn what I need to…