Category: Python

Working with time series in Python

In the dim and distant past (let’s call this 2007!) if you wanted to work with time series, you might have to resort to writing your own time series library. When I say a “time series library”, I’m not really talking about any sophisticated techniques for manipulating time series. Instead, I’m talking about ways of…

S3 less Audi more Amazon

When I hear S3, I still think of the Audi S and RS models, those high performance variants and Audi’s versions of the BMW’s M series. I’ve got to admit, there is something a bit more special about a BMW M5 compared to an RS6, but I’ve never driven either to confirm that (any comments…

Download tickers from many sources

Whenever you cook, do you use one ingredient? You could do, but the results are going to be pretty bland. A burger, without bread, or a patty, is a bit of a non-starter. It’s all about finding the right mix of ingredients and then cooking up a storm (if you’ll excuse the pun). Analysing financial markets…

Data scientists and coding

Data scientists code. There’s nothing controversial about this statement. Without coding you’d be limited to the types of tools you can use to analyze data, such as Excel. However, with coding we have access to libraries like pandas to work with time series, scikit-learn to do machine learning and so on, to build models. In…

Visualization in Python

What’s one of the most important part of analyzing financial markets, or data science in general? There are several answers. If you don’t have any data to start with, there’s not really going to be more to analyze. Once you get the data, it needs to be cleaned, before the analysis etc. Once all the…