Skip to content

GrossProfit Property

Summary

Gross profit accrued by the order associated with the position.

Signature

1
public abstract double GrossProfit {get;}

Return Value

double

Declaring Type

cAlgo.API.Position

Examples

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

Last update: December 7, 2022

Comments