A Portfolio Margin account can provide lower margin requirements than a Margin account. However, for a portfolio with concentrated risk, the requirements under Portfolio Margin may be greater than those under Margin, as the true economic risk behind the portfolio may not be adequately accounted for under the static Reg T calculations used for Margin accounts. Customers can compare their current Reg T margin requirements for their portfolio with those current projected under Portfolio Margin rules by clicking the Try PM button from the Account Window in Trader Workstation (demo or customer account).
To get started, investors interested in trading in the forex markets must first sign up with either a regular broker or an online forex discount broker. Once an investor finds a proper broker, a margin account must be set up. A forex margin account is very similar to an equities margin account – the investor is taking a short-term loan from the broker. The loan is equal to the amount of leverage taken on by the investor.
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.
Let's take a couple of moments to review what we've learned! Currency trading, often referred to as foreign exchange or Forex, is the purchasing and selling of currencies in the foreign exchange marketplace, and is done with the objective of making profits. Because it is liquid, currency trading differs from other types of trading. Currency exchanges are expressed in currency pairs (two different currencies together), using a format that expresses both the country and the type of money.
In particular I've made the interface for beginning a new backtest a lot simpler by encapsulating a lot of the "boilerplate" code into a new Backtest class. I've also modified the system to be fully workable with multiple currency pairs. In this article I'll describe the new interface and show the usual Moving Average Crossover example on both GBP/USD and EUR/USD.
You could ask yourself, why wouldn’t you use the highest leverage ratio available in order to decrease your margin requirements and get an extremely high market exposure? The answer is rather simple and deals with Forex risk management. While leverage magnifies your potential profits, it also magnifies your potential losses. Trading on high leverage increases your risk in trading.