Penalty method for portfolio selection with capital gains tax. (19th April 2021)