The first method, calculate_pips, determines the number of pips that have been generated by this position since it was opened (taking into account any new units added to the position). The second method, calculate_profit_base, calculates the current profit (or loss!) on this position. The third method, calculate_profit_perc, determines the percentage profit on this position. Finally, update_position_price updates the previous two values based on current market data.


At this stage the "risk management" is rather unsophisticated! In the method calc_risk_position_size below we are simply making sure that the exposure of each position does not exceed risk_per_trade% of the current account equity. risk_per_trade defaults to 2% with the keyword argument, although this can obviously be changed. Hence for an account of £ 100,000, the risk per trade will not exceed £ 2,000 per position.
The FX market is different from other markets in other unique ways. Traders who think that the EUR/USD might spiral downward can short the pair at will. There is no uptick rule in FX as there is in stocks. There are also no limits on the size of your position (as there are in futures). Thus, in theory, a trader could sell $100 billion worth of currency if they have sufficient capital.
Type of forex trading account the forex robot is trading on – thus telling you if the forex robot listed within the table of results has a demo trading account statement or real trading account statement. Demo forex trading accounts can give different result to real forex trading accounts because of factors such as different broker spreads and brokers slippage. Usually the liquidity on a demo account would be artificial and thus the trades will usually be executed faster, this can also mean smaller spreads on demo accounts. However, demo accounts can still give a good idea on what to expect from a forex robots performance. It is usually recommended to use a true ECN forex broker with plenty of liquidity to ensure low spreads, low slippage and thus the best possible forex robot trading conditions. This can save you trading costs and improve trading performance.
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.
Before rushing out in pursuit of the next high-yield pair, however, be advised that when the carry trade is unwound, the declines can be rapid and severe. This process is known as the currency carry trade liquidation and occurs when the majority of speculators decide that the carry trade may not have future potential. For every trader seeking to exit their position at once, bids disappear, and the profits from interest rate differentials are not nearly enough to offset capital losses. Anticipation is the key to success: the best time to position the carry is at the beginning of the rate-tightening cycle allowing the trader to ride the move as interest rate differentials increase.
Trading foreign exchange on margin carries a high level of risk, and may not be suitable for everyone. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. Remember, you could sustain a loss of some or all of your initial investment, which means that you should not invest money that you cannot afford to lose. If you have any doubts, it is advisable to seek advice from an independent financial advisor.

Not all securities can be bought on margin. Buying on margin is a double-edged sword that can translate into bigger gains or bigger losses. In volatile markets, investors who borrowed from their brokers may need to provide additional cash if the price of a stock drops too much for those who bought on margin or rallies too much for those who shorted a stock. In such cases, brokers are also allowed to liquidate a position, even without informing the investor. Real-time position monitoring is a crucial tool when buying on margin or shorting a stock. 

The FxPro Margin Calculator works out exactly how much margin is required in order to guarantee a position that you would like to open. This helps you determine whether you should reduce the lot size you are trading, or adjust the leverage you are using, taking into account your account balance. Select your trading instrument, your trade size, leverage and account currency, and click ‘Calculate’. Our Margin Calculator will do the rest.
While the default order of the table list arrangement is according to the RFR Rank#, you may like to view a comparison list according to an other value listed there, you can do that by clicking on the desired value title in the table header or select it from the dropdown list at the top right to the table, this will re-arrange the list according to that value, the first click on the header value title will re-arrange the list in an ascending order, the second click will revert to a descending order of that value, and so on. You may also switch between the ascending / descending list orders by clicking the     buttons to the right of the top right dropdown list.
In other asset classes, the smallest increment of a change in asset price is known as a "tick". In foreign exchange trading it is known as a "pip" (Price Interest Point). It is the smallest increment in any currency pair and is (usually) 1/100th of a percent, also known as a basis point. Since the majority of major currency pairs are priced to four decimal places, the smallest change occurs on the last decimal point.
(Note that the leverage shown in Trades 2 and 3 is available for Professional clients only. A Professional client is a client who possesses the experience, knowledge and expertise to make their own investment decisions and properly assess the risks that these incur. In order to be considered to be Professional client, the client must comply with MiFID ll 2014/65/EU Annex ll requirements.)
I post this to let you know, as the title mentions it, that I made a trading diary, with google documents tool. This a generic spreadsheet which allows any trader to manage his trading (his risk, his pnl, his opened position, the orders...) with a trding diary. Every trader,should have one, and I mad mine with google docs. At least you must have an account to acces this spreadsheet.
×