A command-line tool that reconstructs a stock portfolio's full history from a transaction log, values it against real market prices, and computes the return and risk metrics a broker's app doesn't ...