Merge branch 'cmd/apply--total-payout' into cmd/apply--total-return

* cmd/apply--total-payout:
  minor, clarify (and redefine) ctl_caev_inv() as the left inverse
  test, adapt regression files to lifo addition
  minor, express all total payout cases through lifo addition and its inverses
  tentative, test, introduce inverse corporate actions
  minor, implement lifo addition and leave a note, also provide left and right inverse _sup() v _sub()
  chore, refactor out ratios acting on prices and quants
  chore, test, kick total return tests
  test, provide regression files for dvca after splx and dvca before splx
  chore, allow --forward (mode to apply) to be abbrev'd -F
  minor, hygiene, use the better fitted ctl_caev_act_mktprc() in ctl_appl_caev_file()
  fix, PEBKAC, also allow --forward adjusted time series to be brought back to raw form
  test, provide regressions for reversing total payout adjustments
  test, provide regressions for total payout backward and --forward mode
  minor, get the total payout scheme right (--forward and backwards)
minor, bring back --total-return|-T mode

At the moment this is done by going through the tsereies files twice
(so it can't be a pipe), once to obtain the factors and once to apply
them.

Also, the rounding is a catastrophe at the moment.

Also, the --reverse|-R mode instantiates the wrong factors

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, fix up -R|--reverse in --total-return|-T mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
tentative, remove support for -R in --total-return mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide some regression tests for apply in total return mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, bring back -R mode at least for -T backadjusted series

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide regression tests for reverse apply in total return mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/apply--total-return'

* cmd/apply--total-return:
  test, provide regression tests for reverse apply in total return mode
  minor, bring back -R mode at least for -T backadjusted series
  test, provide some regression tests for apply in total return mode
  tentative, remove support for -R in --total-return mode
  minor, fix up -R|--reverse in --total-return|-T mode
  minor, bring back --total-return|-T mode
hygiene, don't implement printing of time series rows as coroutine, ...

use a normal subroutine instead.

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'code/hygiene'

* code/hygiene:
  hygiene, don't implement printing of time series rows as coroutine, ...