Once an investor has started buying a stock on margin, the NYSE and FINRA require that a minimum amount of equity be maintained in the investor's margin account. These rules require investors to have at least 25% of the total market value of the securities they own in their margin account. This is called the maintenance margin. For market participants identified as pattern day traders, the maintenance margin requirement is a minimum of $25,000 (or 25% of the total market value of the securities, whichever is higher).
If it was this easy to earn money utilising robots, nobody would ever go to work. It is possible that robots can make money for a restricted time period, but they could start losing after awhile - and the money earned by the 'best Forex robot' with one position may disappear before you can claim it. In addition, the vast majority of robots are scalpers. They make just a few pips with every position they take - and they can set a considerably tight target. The chances of surviving with such a strategy are quite limited for a trader.
We also apply a concentrated margining requirement to Margin accounts. An account's two largest positions and their underlying derivatives will be re-valued using the worst case scenario within a +/- 30% scanning range. The remaining positions will be re-valued based upon a move of +/-5%. If the concentrated margining requirement exceeds that of the standard rules based margin required, then the newly calculated concentrated margin requirement will be applied to the account.
The market values/prices used to compute the equity or margin requirement in an Interactive account may differ from the price disseminated by exchanges or other market data sources, and may represent Interactive's valuation of the product. Among other things, Interactive may calculate its own index values, Exchange Traded Fund values or derivatives values, and Interactive may value securities or futures or other investment products based on bid price, offer price, last sale price, midpoint or using some other method. Interactive may use a valuation methodology that is more conservative than the marketplace as a whole.

Inflation Rates: Countries with inflation rates that are lower than other countries experience increased currency values. These increases mean that the purchasing power has also increased. The country that previously spent $1 million for 10,000 units of a foreign product is now able to purchase 18,000 units with the same $1 million, or $750,000 for the same 10,000 units. High inflation rates mean that there will likely be depreciation in the value of the currency.
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.