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.
Now, let’s say you open a trade worth $50,000 with the same trading account size and leverage ratio. Your required margin for this trade would be $500 (1% of your position size), and your free margin would now also amount to $500. In other words, you could withstand a negative price fluctuation of $500 until your free margin falls to zero and causes a margin call. Your position size of $50,000 could only fall to $49,500 – this would be the largest loss your trading account could withstand.
Foreign exchange (forex) or FX trading involves trading the prices of global currencies, and at City Index it is possible to trade on the prices of a huge range of global currencies. Currency trading allows you to speculate on the movement of one currency against another, and is traded in pairs, for example the Euro against the US Dollar (EUR/USD).
The best Forex robots suggest solutions to find profitable trades even in unstable markets, when the actual trending direction is unclear. Robots will follow the best trend to enlarge profits, and perhaps eliminate the chances of potential losses. Trading against the trend will eventually lead to loss after loss, whilst trading with it increases profit, no matter what method or robot is used to trade.

Leveraged trading in foreign currency or off-exchange products on margin carries significant risk and may not be suitable for all investors. We advise you to carefully consider whether trading is appropriate for you based on your personal circumstances. Forex trading involves risk. Losses can exceed deposits. We recommend that you seek independent advice and ensure you fully understand the risks involved before trading.
Admiral Markets Cyprus Ltd is registered in Cyprus – with company registration number 310328 at the Department of the Registrar of Companies and Official Receiver. Admiral Markets Cyprus Ltd authorised and regulated by the Cyprus Securities and Exchange Commission (CySEC), license number 201/13. The registered office for Admiral Markets Cyprus Ltd is: Spyrou Kyprianou 20, Chapo Central, 1st floor, Flat/Office 102, 1075, Nicosia, Cyprus
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.
Leveraged trading in foreign currency or off-exchange products on margin carries significant risk and may not be suitable for all investors. We advise you to carefully consider whether trading is appropriate for you based on your personal circumstances. Forex trading involves risk. Losses can exceed deposits. We recommend that you seek independent advice and ensure you fully understand the risks involved before trading.
×