Trading on margin refers to trading on money borrowed from your broker in order to substantially increase your market exposure. When opening a margin trade, your broker lends you a certain sum of money depending on the leverage ratio used, and allocates a small portion of your trading account as the collateral, or margin for that trade. The remaining funds in your trading account will act as your free margin, which can be used to withstand negative price fluctuations from your existing leveraged positions, or to open new leveraged trades. The relation between your free margin and other important elements of your trading account, such as your balance and equity, will be explained later. For now, it’s important to understand the meaning of margin in Forex.
When investors are selling, the exchange rate of the foreign currency tells them how many units of the quote currency they will get for one unit of the base currency. Traders make decisions to buy if they think that the value of the base currency might increase. In the example, traders would purchase the US dollar with the Euro if they expect the value of the US dollar to increase to $1.31. The change that takes place is how the investor makes a profit.
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.
Algorithmic Management System Automated Forex Trading Best Forex EA Binary Robot Crypto Bots EA Developer Expert Advisors Forex Guide Forex PAMM Forex Robots Forex Scalping Forex Scam forex signals forex trading strategies forex trading system Gold Trading Grid System Managed Account Manual Trading MetaTrader 4 MetaTrader 5 Price Action Proprietary Trading Trading Analysis Software Trend Scanner Understand Forex Robots
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.