MantaTrade

Trading Analysis

5min

With Trading Analysis, you can provide MantaRisk your past trades and it will build a risk management strategy tailored to your trading style, showing you how to would have impacted your PnL and where you can improve. You can navigate to the Trading Analysis feature using the left hand side navigation menu:

Document image


Definition of Fields

Profits ex Fees: the sum of each trades' win or losses excluding any fees the broker may charge you such as commission or interest on CFDs.

nWin / nPositions: percentage of winning trades in comparison to the total amount of trades made. Absolute numbers of winning trades and total trades in brackets.

avgWin / avgLoss: ratio between average profit of winning trades and average loss of loosing trades. Absolute numbers of winning trades and total trades in brackets. A high ratio is the mark of a good trader.

Average Duration: average duration of a trade.

Max Duration: longest amount of time a position has been kept open.

Min Duration: shortest amount of time a position has been kept open.

Current Capital: capital currently available on the account excluding ongoing trades.

Avg Utilisation: average capital utilisation from the time the first trade was open to the time the last trade was closed. This excludes margin requirements, ongoing profits / losses and broker fees such as interests.

Max Utilisation: maximum capital utilisation i.e. maximum amount of money which was committed to trades long or short at any given time.

Loading Trades into the System

For non-connected brokers like the Generic Broker, a Load Trades as CSV option is displayed. This allows you to upload your trades in a generic format and have them analysed by MantaRisk.

Document image


A template CSV file is available here:

The fields to be provided are as follow:

  • Instrument Code: the exchange code for the instrument
  • Direction: Long or Short
  • Size: the number of shares bought
  • Open Level: the price at which the position was entered
  • Open Date: the date and time at which the position was entered. The format is yyyyMMdd'T'HH:mm:ss'Z' for example 20230818T14:33:51Z
  • Close Level: the price at which the position was exited
  • Close Date: the date and time at which the position was exited. The format is yyyyMMdd'T'HH:mm:ss'Z' for example 20230818T14:33:51Z
  • Stop (optional): an optional value indicating the stop loss level that was attached to the order when it was placed. This is the original stop loss, and does not reflect any modifications that were made after the position was entered.
  • Limit (optional): an optional value indicating the limit (take profit) level that was attached to the order when it was placed. This is the original limit, and does not reflect any modifications that were made after the position was entered.

Detail of Actual Trades

Fields are self explanatory with the following caveats:

Profits: this is expressed in the currency of the trade whatever that was.

Ready for Analysis: trading analysis can only occur on closed positions and if historical data for said instrument / timeframe is available from the chosen data provider. This field therefore indicates whether a trade can be included in the trading analysis or not. The following values are used:

  • Included: this trade is included in the trading analysis
  • Still Open: this trade cannot be included because it is still ongoing
  • Historical data not available: the data source you have chosen does not have historical data for this instrument and timeframe. To include this trade in the analysis, other data sources must be added to your account. This can be done on the Data Sources page.

Detail of Trading Analysis Trades

On this screen, the list of trades before and after the recommended risk management strategy has been applied can be seen. This allows a better understanding of what the strategy would have changed should it have been applied on the trades you have made to date.

Note:

There may be some slight variations in levels at which the "before" trades have been taken in comparison to your actual trades. This is due to the way the backtesting engine works. specifically its maximum granularity is limited to 15 minutes candles.