you can keep your trade open as long as you wish and there is no time limitation and the trade will be open till your capital is able to withstand your losses and when there is no free margin then you will get a stop out and you will lose your capital.