Hi All,

Lets say we start with $100,000
We go short MSFT 50% of the money (sold shares worth $50,000)
Next week MSFT loses let's say 10%, then Portfolio will have $105,000, and the cash is $50,000, but 50% in this case is $52,500.

Then we execute Setholdings("MSFT", 0.5).
Does this lead to buying back all the shares we were short and on top of this buying some MSFT shares for remaining $2500 in order to reach trading for $52,000 ?