Highly illiquid strategy, simulate slippage

I’ve been playing with a strategy for very illiquid names, nano and pico caps (TSX Venture exchange). Very illiquid as in some stocks do not trade every day (some days w/ zero volume).

I use fixed slippage with good results, but variable slippage kills the strategy (not surprisingly).

Two questions:

  1. How is variable slippage calculated, and
  2. Is there a way to simulate “scaling in” or “scaling out” of positions, instead of assuming a single transaction, to help reduce friction and slippage?

Thanks!
Ryan

This may be it.

Ah yes, this should work. Thanks!