In the demo version of the TradePad every trade is assigned to a “demo” portfolio. In TradePad you have two views related to portfolio functionality, showing your portfolios as:
- Portfolios frame (table),
- Portfolio Pie Chart.
You can invoke Portfolios frame by:
- selecting inside menu Tools\Portfolios,
- use defined keyboard short-cut (default [Ctrl]+[P]),
- using the button from the Menu & Tool bar.
Every transaction (via strategy or single order) must be assigned to some portfolio. Portfolio is a set of instruments assigned to it. By default user’s portfolio is named ‘demo’ and is created along with user profile. Inside of the portfolio all the transactions on the same instrument traded on same exchange are merged.
A set of columns in a Portfolios table:
- Instrument - an instrument or an portfolio name,
- Open Quantity - sum of quantities of open positions in that instrument,
- Processed Quantity - total quantity which was processed (both open and already closed),
- Closed Quantity - quantity of closed positions,
- Closed PnL - Profit & Loss on closed positions,
- Estimated PnL - Profit & Loss on open positions based on current market prices (Mark to Market),
- Total PnL - total Profit & Loss including open and closed positions including costs,
- PnL% - total Profit & Loss percent wise,
- Avg Open Price - average price of currently opened positions on this instrument,
- Current Price - Instrument’s current price,
- Avg Close Price - average price from all closing transactions on this instrument,
- Open Quantity Value - value of open positions,
- Exchange - name of exchange where instrument has been traded,
- Invested Value - invested resources.
You can modify the order and the size of the above described columns.
Additionally, it’s possible to Close Position (execute transaction that is the exact opposite of an open position) from within the Portfolio frame. To do so, right-click on an instrument inside the Portfolios frame and select Close position.
Portfolio’s export and import¶
Empirica TradePad supports exporting and importing portfolios as CSV files. This feature comes in handy when users want to continue working on a portfolio built on a different system or need to make a back-up file.
To export portfolio data right-click anywhere inside the Portfolios frame and choose Export portfolios... option from the drop-down menu. This opens Export Portfolios dialog where you can choose portfolios you want to export (in TradePad Demo there is only ‘demo’ portolio available). In the next dialog you will be asked to specify the output folder.
The exported CSV file contains exported portfolios data separated with semicolon and can be edited in spreadsheet, editor or viewer of choice.
This functionality is not available in the demo version.
Portfolio Pie Chart¶
Portfolio Pie Chart provides visual way to monitor contents of user’s portfolios. The instruments inside the selected portfolio are represented as chunks of a pie chart, their percentages calculated as Open Quantity Value ratio (Instrument’s Open Quantity Value divided by Total Open Quantity Value).
You can invoke Portfolio Pie Chart frame by right-clicking anywhere inside the Portfolios frame and choosing Portfolio Pie Chart option from the drop-down menu.