Position.Pips
property · Position · cAlgo.API
DesktopCLICloud
Represents the winning or loosing pips of the position.
Definition
double Pips {get;}
position.Pips: float
Returns double
Examples
var position = Positions.Find("myLabel");
if (position != null)
Print("Pips: {0}", position.Pips);
position = api.Positions.Find("myLabel")
if position is not None:
api.Print(f"Pips: {position.Pips}")