How many times have you downloaded the same time series data to backtest a trading strategy? If you’re like silly old me – too many times…or at least enough times to write about it!

Photo by Taylor Vick on Unsplash

You might say that most APIs like yfinance are fast and easy to use so it’s no biggie. Granted, that is mostly the case. It does escalate from a minor inconvenience to a serious pain in the proverbial though if you want to do a deep dive into minute intervals or any scenario that requires you to throttle your API requests to respect limits.

If I still haven’t convinced you, downloading the same time series repeatedly is, at the very least, a gross inefficiency and as programmers we hate inefficiencies, so let’s squash it!

Alright, that’s enough of the BS…

Consider this…You’ve just developed an awesome web app with Python and you want to share it with your colleagues. How should you go about it? What are your options?

Photo by Filiberto Santillán on Unsplash

Ideally you’d deploy your app on a cloud service (AWS, Google Cloud, Heroku, etc.) and simply direct potential users to a url. No fuss, no muss. But not always will you want your precious projects in the public domain. Or perhaps you don’t want to pay for the hosting service. Whatever the reason, you can still share your app for local use, for free.

“Keep you tools in one toolbox.”

Said no one…ever…I completely made that saying up, but it kind of holds true. As a developer you’re constantly building tools, potentially in different languages and using different programs. Your…

Matt Doyle

Curious programmer. Experienced in financial markets. Fan of a good dashboard!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store