The maximum amount of time you can hold a position open on margin is 365 days. In this time, it is expected of you to monitor your open position and settle. Or, you can close the position in the 365 days starting from the opening day.