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.
Popular leverage ratios in Forex trading include 1:10, 1:50, 1:100, 1:200, or even higher. Simply put, the leverage ratio determines the position size you’re allowed to take based on the size of your trading account. For example, a 1:100 leverage allows you to open a position 10 times higher than your trading account size, i.e., if you have \$1,000 in your account, you can open a position worth \$10,000. Similarly, a  leverage ratio of 1:100 allows you to open a position size 100 times larger than your trading account size. With \$1,000 in your trading account, you could open a position worth \$100,000!
Profit factor on the forex robot trading account statement. Profit factor is the gross profit / gross loss. E.g Profit of \$6000 and a loss of \$3000 would give a profit factor of 2.0. This means that for every \$1 risked, you can expect a return of \$2. If a forex robot has a profit factor less than 1, eg profit factor of 0.7, this means that for every \$1 you can expect \$0.70 back (the forex robot is a losing one!). If a forex robot has a high profit factor, it is a good one – eg profit factor of 6.0 (\$6 gained for every \$1 risked). You can click this table heading to rank the table of forex robots by the profit factor to see what are the best forex robots with the highest profit factor.
```Margin is one of the most important concepts of Forex trading. However, a lot of people don't understand its significance, or simply misunderstand the term. A Forex margin is basically a good faith deposit that is needed to maintain open positions. A margin is not a fee or a transaction cost, but instead, a portion of your account equity set aside and assigned as a margin deposit.
```