Changes

Jump to navigation Jump to search

Portfolio Trader

1,244 bytes added, 12:23, 30 October 2019
Portfolio Trading functionality has been added in '''MultiCharts 9.0 Beta.'''In MultiCharts 9.0 '''Portfolio Backtester''' has been improved and became '''Portfolio Trader''' with adding [[#Forward TestingAutomated Trading|forward testingPortfolio Automation]] and [[#Automated TradingForward Testing|real-time dynamic portfolio tradingForward Testing]] capabilitiesto the list of features.
Download [[Media:Portfolio_Trader_Manual.pdf]] in '''.PDF'''format.== Opening Portfolio Trader Manual== To open ''' in Portfolio Trader'''.pdf: * click ''' format can be downloaded Portfolio Trader''' [https[File://dlPort Trdr icon.dropboxusercontent.com/u/95112551/png]] icon on the '''Main''' toolbar; or:* in the '''Main''' menu select '''File''', then point to '''New''' and click '''Portfolio/Portfolio%20Trader%20Manual.pdf here]Trader'''.<br>
== Understanding Portfolio Trader ==
=== Portfolio Trading Benefits ===
* Applying a trade strategy to a number of financial instruments simultaneously offers the following advantages:
* A diverse portfolio will produce more consistent results.
* Infrequent trading opportunities will be more common across a number of symbols.
'''Portfolio Performance Report''' is available in '''Auto Trading Mode'''. A Portfolio Performance Report shows results generated from the moment it opens.
 
<br><div style="background-color: #E3FBE5;">'''NOTE:''' The report is recalculated automatically in the '''Forward Testing''' and '''Auto Trading''' modes, but not in the '''Backtesting''' mode.
Please, also note that there are 2 cases when the Report is not recalculated:
 
* when it is opened on Trade Analysis -> List of Trades page
* when it is opened on Breakdown by Symbols -> Overview -> detailed report for the symbol page. </div>
== Understanding Dynamic Portfolio ==
# Before a portfolio is calculated, data from all instruments contained in the Instrument List are either gathered from MultiCharts database or downloaded from a data provider's server. The first instrument’s data range start date determines the start date for all instruments. The strategy is then applied to every instrument in the Portfolio Tree.
# During backtesting, a single bar of each symbol's data series is evaluated by the strategy's signal scripts, starting with the first (oldest) bar. The series’ bars are evaluated in the order that the symbols appear in the symbols table of Portfolio BacktesterTrader. Based on evaluation of each series’ bar, a set of one or more orders may be generated by the scripts for each of the symbols. Order sets are generated in the same sequence as the series’ bars are evaluated.
# This process is illustrated in the Raw Order Generation section of the diagram: the first bar for symbol 1 is evaluated first, and a set of orders is generated based on that bar. Then the first bar for symbol 2 is evaluated, and a set of orders is generated based on that bar. The process is repeated until the first bar for the last symbol (Symbol N) is evaluated.
# After all of the strategies have been calculated, the PMM (Portfolio Money Management) signal is initiated (if any has been applied under Portfolio Properties). The PMM signal is used to apply money management settings to the entire portfolio. It can access all of the portfolio's strategies via pmms_keywords. (Calculation-wise, the PMM signal is not copied to every signal and is always calculated on the first instrument on the same bar on which all other signals are calculated).
Each strategy is designed to open and close positions of a specific instrument, i.e. the strategy calculates the moment WHEN the position should be opened/closed.
After all strategies have been calculated, the PMM (Portfolio Money Management) signal (if any PPM PMM signal has been applied) is initiated.
The '''PMM signal''' can access all the strategies within a portfolio PMMS functionality helps to manage:
[[File:PMMS Signal window.png]]
 
Since '''MultiCharts 11''' Portfolio Money Management signals can generate '''alerts'''. To enable alerts for the PMM signals it is required to use [[Alert]] keyword in the code of the signal and enable alerts in the '''Alerts''' tab in '''Strategy properties'''.
 
<div style="background-color: #E3FBE5;">'''Note:''' It is important to understand that Money Management signals have a base resolution – this is the first symbol in your Portfolio table (the upper left cell of the table, as shown on the picture above). The data and statuses are taken from it during the PMM signal’s calculations. Even if the first strategy is disabled in Portfolio Tree, the PMM signal will refer to this symbol.</div>
<div style="background-color: #E3FBE5;">If a PMM signal references additional data series (Data2, Data3, etc) the values are also taken from the first row of the Portfolio instruments table.</div>
== Symbol Prioritization ==
All major strategy calculation indicators, such as Portfolio Net Profit, Gross Profit, Gross Loss, Trades Profits and Losses, etc. are calculated in the account currency, including EXISTING MaxIDDrawDown, NetProfit, MaxPositionProfit; PosTrade***;_OpenEntry***. <br>
When automated Strategy values (during backtesting, optimization, forward testing, realtime trading in the Portfolio is run by selecting Run Automate Order Execution, the currency conversion will be executed in real-time using current rates within each executed trade.When a strategy is backtested or optimized ) are converted using historical data, the . The corresponding historical rates will be used for conversion (exchange rates at the close of the previous FOREX trading session will be used, intra-day exchange rate fluctuations are not taken into account: e.g. if the trade occurs on April 30th, the close price of the April 29th FOREX trading session will be used).
Currency conversion patterns:<br>
[[Category:Portfolio BacktesterTrading]]

Navigation menu