Open positions are required to be fully margined at all times. FOREX.com does not engage in margin calls; you are responsible for monitoring your account and maintaining 100% of required margin at all times to support your open positions. To help limit your trading losses and ensure that your losses never exceed your account balance, our systems monitor your margin in near real-time and will automatically close out your open positions if your account equity falls below the 100% margin requirement. While our 100% margin requirement and near real-time margin system is designed to limit your trading losses and help ensure that total losses never exceed your total account balance, you do risk incurring losses greater than your account balance, especially during periods of extreme market volatility. While it is not FOREX.com’s policy to hold clients responsible for modest negative balances, we do reserve the right to hold clients responsible for large debit balances and when special circumstances apply. For this reason, we strongly encourage you to manage your use of leverage carefully. Increasing leverage increases risk.
In particular I would like to make the system a lot faster, since it will allow parameter searches to be carried out in a reasonable time. While Python is a great tool, it's one drawback is that it is relatively slow when compared to C/C++. Hence I will be carrying out a lot of profiling to try and improve the execution speed of both the backtest and the performance calculations.