Use tabular package to display portfolio at command line; add pnl and
total to portfolio breakdown

The sql has been extracted into a separate file to enable sql updates
without rebuild