Hi,
Is there a formula/function to record the average holding period of the holdings in the portfolio ? I am working on building a short term strategy and I am concerned that some trades are happening too quickly and profits are being decreased due to the bid/ask spread.
If I can plot the average holding period of all trades then I can try to optimize some parameters to avoid some trades.
Thanks,