plot_turnover

Defined in fynance.plot

plot_turnover(positions, index=None, ax=None)[source]

Plot the per-asset turnover position| of a book.

positions is the position book (T, N); the turnover at each step is the absolute change in position per asset (the first step charges entry from flat, matching the cost model). Returns the matplotlib Axes.