Published
Custom indices offer flexibility and control over the composition and weighting of assets, providing your own unique benchmark that can better reflect your investment strategies compared to traditional indices. This article will guide you through building custom indices using Python. Why Custom Indices? Why we will calculate US Dollar Index While you can practically create…
Published
We, small traders, are always trying to find our edge on how to trade smartly with the limited resources that we have. On the other hand, there are hedge funds, with armies of traders, quants, developers, as well as the most important. Money and Data! So how can we beat them? Well, we can’t… All…
Published
You start your trading day trying to filter all the information of what happened the previous day. Then you start to feel overwhelmed with all the data that are out there and end up doing the same thing again and again. Well, this is not necessarily a bad thing. After all, discipline in trading is…
Published
Before we dive into the code let’s put some ground rules. GitHub Actions is a platform for automating software development workflows directly within GitHub repositories. Its primary purpose is to streamline tasks like continuous integration, continuous deployment, and other automation processes. So, it sounds more like a DevOps tool. However, we can use it to…
Published
You have selected the assets you would like to invest in, after spending hours analyzing data and now it is time to get into the market. Does it make sense to invest your capital using the same amount of money for each stock? Well, simply the answer is no. Modern Portfolio Theory Modern Portfolio Theory…
Published
If data is the King, then how about free data!? Yahoo Finance used to have its own financial API, but this was decommissioned in 2017. But Ran Aroussi (thank you! thank you! thank you!) developed this library to come and fill the gap! As for all the good things about Python modules, you can find it at pypi.org. There is…
Published
While several free online stock screeners exist, such as Yahoo Finance, Finviz, and Trading View, they often come with limitations or reserve certain features for paid subscriptions. It’s frustrating when you need a specific tool for your investment strategy, and it’s either missing or locked behind a paywall. Why pay for a full subscription when…