GnuCash Python utilities to manage a stock portfolio