Deal.Label
property · Deal · cAlgo.API Since 5.1
DesktopCLICloud
Gets the label.
Definition
string Label {get;}
deal.Label: str
Returns string
Examples
var position = Positions.Find("myLabel");
if (position != null)
{
foreach (var deal in position.Deals)
Print("Deal {0} label: {1}", deal.Id, deal.Label);
}
position = api.Positions.Find("myLabel")
if position is not None:
for deal in position.Deals:
api.Print(f"Deal {deal.Id} label: {deal.Label}")