n permuted copies of an OHLC series: [open, high, low, close] (and the
moved volume when volume is given), each a (T, n) array. mode is "log"
(shuffle log gaps and intrabar shapes, Masters 2020; the default), "diff"
(the same with differences, for prices that can be zero or negative), or
"level" (shuffle whole bars). volumeMode "keep" moves volume with its bar;
"notional" also rescales it so volume times the typical price stays that of
its source bar. Mirrors Python's permute_bars.
npermuted copies of an OHLC series:[open, high, low, close](and the moved volume whenvolumeis given), each a (T, n) array.modeis "log" (shuffle log gaps and intrabar shapes, Masters 2020; the default), "diff" (the same with differences, for prices that can be zero or negative), or "level" (shuffle whole bars).volumeMode"keep" moves volume with its bar; "notional" also rescales it so volume times the typical price stays that of its source bar. Mirrors Python'spermute_bars.