I would need to check the exact bar when a position was opened. I know that would be easy to use BarsSinceEntryExecution() but when the strategy restart or any disconnection appears the value is reset.
Do we have any parameter I could use to get the bar open position or the time when the position was opened? For now I am checking the executions account to get the last execution.time but I don't know if there is a faster way.
Moreover, I would like to know if there is a way to identify which strategy does a specific account position belong to. I mean which strategy opened that specific position? Is it possible?
Thank you for your support.
Regards.

Comment