GrossProfit


Summary

Gross profit accrued by the order associated with the position.

Syntax

public double GrossProfit{ get; }

Example 1

ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "myLabel", 10,10);
Print(LastResult.Position.GrossProfit);