Hi community,

I tried to apply slippage as presented in example in this algo.ref :


I connect my contract to slippage via :

contract.SetSlippageModel(new CustomSlippageModel(this));

But it doesn't work, when i change "asset.Price * 0.0001" in the variable slippage in the public class, nothing change.

Backtest below with "asset.Price*0.01".

Thank you in advance for any help.