Just to add: The reason for flattening the contract position is that there must be no contract holdings in order to adjust the dual position function of the contract. Therefore, if you want to enable the dual position function, you need to handle the contract holdings in advance. 💰