QuantNomad

Empyrial – The Easiest Way to Optimize Portfolios in Python

Portfolio calculation and optimizations are very basic tasks in Quantitative Finance. But people who are just started programming might have issues with them. Empyrial library in Python might be a solution for simple portfolio tasks. It encloses data downloading and all computations behind a super simple interface. You can literally code optimization in 1-2 lines …

Empyrial – The Easiest Way to Optimize Portfolios in Python Read More »

How to Fix Pine Script Study Error “Too Many Drawings, Cannot Clean Oldest”

Drawing objects need to be limited (per study or strategy) because they consume server resources. When you create too many drawings, Pine runtime automatically deletes old ones in a process known as garbage collection (removing data that is no longer required or in use). If something goes wrong with regards to drawings, you may encounter …

How to Fix Pine Script Study Error “Too Many Drawings, Cannot Clean Oldest” Read More »

Paring WallStreetBets in Python in Few Lines of Code (Reddit API)

If you’re even slightly interested in trading or investing you probably heard about WallStreetBets. I’s a huge community of retail traders on Reddit with 9.5M followers. This community can influence the market quite significantly these days. Here is a chart of Gamestop, the most famous stock in the community. As you can see community triggered …

Paring WallStreetBets in Python in Few Lines of Code (Reddit API) Read More »