+1 888 340 6572
MultiCharts Project Management
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
Open Feature request MC-1789

Feature Request: pmms_get_strategy_current_value(strategy_index)

Please log in to vote
Please log in to vote
Go to the next issue (open or closed)
Go to the next open issue

I am working with Portfolio Trader and am implementing a portfolio ranking scheme, based on historical performance of the individual performance of my trading signals.
Right now, I need to implement functionality in my trading signals to report the 'raw' performance per stock to the PMM signal, so that the PMM signal can then deny/ allow entries and adjust order sizes.
This has several drawbacks:
* I can no longer use any of your standard trading signals, as I need to report the raw trading performance
* I can no longer separate entry and exit conditions in my trading signals
I have tried to code an 'observer signal', which would observe the trades made, calculate the raw trading performance and report that. Unfortunately, that doesn't work, as this observer signal is no longer seeing the 'raw' trading performance but the performance after the PMM signal has denies/ enabled entries and adjusted position sizes.
I am therefore suggesting to add a PMM keyword, to query the account value of the strategy, prior to any adjustments made by the PMM signal. This would allow to calculate the raw performance in the PMM signal and completely decouple trading signals and PMM signal for a broad range of strategies.
There is a discussion on the forum regarding this under the subject "Tracking strategy performance of individual instruments in Portfolio Trader:


Thank you,
best regards, Felix

Steps to reproduce this issue

feature request. I am happy to provide code examples how this would be used, in case you have any questions.

Comments (1)
user-offline.png  fbertram
Nov 02, 2014 - 15:16

I have attached a demo project, showing how this feature would be used.
What's great about it: in this setup, trading signals from MC's library can be used and combined freely
Why I need your help: this is all hinged on having access to the raw performance. While my demo code gets close to that, it can never turn off any instruments (only downsize them), so this doesn't work for auto-trading.
Thank you,
best regards, Felix

Issue basics
  • Type of issue
    Feature request
  • Category
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
  • Posted by
    user-offline.png  fbertram
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    2 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
Attachments (2)
Commits (0)
There are no code checkins for this issue

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.