AL
entryprice by position ID
04 Jun 2018, 13:34
Dear Panagiotis,
How do I find the entry price of a position if I know the positionID?
Regards,
Alexander
entryprice by position ID
04 Jun 2018, 13:34
Dear Panagiotis,
How do I find the entry price of a position if I know the positionID?
Regards,
Alexander
PanagiotisCharalampous
04 Jun 2018, 14:16
Hi Sasha,
See below
if (Positions.Count(x => x.Id == ID) > 0) { var entryPrice = Positions.First(x => x.Id == ID).EntryPrice; }Best Regards,
Panagiotis
@PanagiotisCharalampous