Topic: Position.OpeningBar - copying to new position when adding lots
Hello,
In Backtester Calculator.cs, I've found that when a lot is added to an existing position, it will transfer some info from the old position to the new position. This is in SetPosition (line 186), and the copying happens around lines 282 to 290. Adding to a long / short position is around lines 365 to 424.
However it does not copy over Position.OpeningBar. Is there a reason for not copying it? I'm going to add it in for a feature I want to add, asking first in case it is known this will break something.
thanks