How do I calculate the position-performance for long & short, from the value I want to use.
I don’t want position-performance to be calculated from the given price of the broker as in code below, but calculated from the “close” value before the market order is executed. This on the dji.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.