TotalSlippage

View as Markdown

Definition

Returns the total slippage.

Property Value

A double value that represents the total slippage. This is presented in points, I.E. 0.25 for 1 execution on E-mini S&P 500 Futures.

Syntax

\<tradecollection\>.TradesPerformance.TotalSlippage

Examples

1protected override void OnBarUpdate()
2{
3 // Print out the total slippage of all trades
4 Print("Total slippage is: " + SystemPerformance.AllTrades.TradesPerformance.TotalSlippage);
5}