Does anyone have a good tutorial of implementing slippage? I've tried invoking it as a Transaction Model but it complains about it not being a correct cast. Are we not allowed to do this?

Securities["VXX"].TransactionModel = new ConstantSlippageModel(0.001m);

Thanks.