Transfer out doesn't close positions

I made transfer transactions for stocks, but they remain opened (with zero value).

If the quantity is 0 then the position is closed. Closed positions are still displayed as they contribute to returns and other metrics.

Once you select a period where an asset was closed for the whole period, then it will be hidden, but only if you have active only option enabled.