Turnaround

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Strategy > TradesPerformanceValues >

Turnaround

Previous page Return to chapter overview Next page

Definition

Returns the amount of turnaround.
 

Property Value

A double value that represents the amount of turnaround.

 

Syntax
<TradeCollection>.TradesPerformance.<TradesPerformanceValues>.Turnaround

 

 

Examples

ns

protected override void OnBarUpdate()
{
    // Print out the turnaround of all trades
    Print("Turnaround of all trades is: " + SystemPerformance.AllTrades.TradesPerformance.Currency.Turnaround);
}