Skip to content

Position.Commissions

property · Position · cAlgo.API

DesktopCLICloud

Commission Amount of the request to trade one way (Buy/Sell) associated with this position.

Definition

double Commissions {get;}
position.Commissions: float

Returns double

Examples

var position = Positions.Find("myLabel");
if (position != null)
    Print("Commissions: {0}", position.Commissions);
position = api.Positions.Find("myLabel")
if position is not None:
    api.Print(f"Commissions: {position.Commissions}")