Make Smart Stock Picks With ffn

How do you calculate stock valuation metrics like Sharpe ratio? Recently I’ve been reading about common stock valuation metrics and wondered how I can apply them to my stock portfolio. I started reading about different metrics, sketching formulas and entertained writing a script to calculate these metrics. But Python has no shortage of finance-related libraries. […]

Lightning Scripts ⚡

You may or may not be familiar with PyCon‘s Lightning Talks, a session of quick hitter talks given each year on a variety of topics. These “Lightning Scripts” are ten of my favorite Python scripts that have served me well as of late to perform a variety of tasks. Highlights include the glob, os, calendar, […]

The Joy of Logging With Python

In painting and coding, there are no mistakes, only happy accidents.  Fortunately when errors happen, Python affords us its stock ‘logging‘ module, which sometimes catches flak in the community for its syntax and documentation. After poking around this module, I’ve found it quite suitable to my needs. Thanks to the logging module, I’m catching my […]