Trading robots are available 24/7 to Forex traders, and can easily be bought over the internet. It is imperative to confirm that there is absolutely no such thing as the 'holy grail' of trading systems, regardless of the type they belong to. The question many ask is do Forex robots work?, or will choosing one turn out to be just another commercial scam? We've prepared this article order to address this question.
Each time you open a new trade, calculate how much free margin you would need to use if the trade drops to its stop loss level. In other words, if your free margin is currently $500, but your potential losses of a trade are $700 (if the trade hits stop loss), you could be in trouble. In these situations, either close some of your open positions, or decrease your position sizes in order to free up additional free margin.
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.