+1 888 340 6572 GET STARTED
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-2367

MC and PT: add keywords to allow "phantom"/virtual trades

action_vote_minus_faded.png
2
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

Portfolio money management functions (e.g. pmms_strategy_deny_entry() ) not only disallow sending orders to the broker, but also cancel them for a strategy altogether, as if they did not happen - which affects strategy statistics.
But to implement "Equity curve trading" (and in some other cases) such trades should be counted!
And while implementing EqCurve Trading by reducing the size of disregarded orders to 1unit would work in testing, it would be quite inefficient to implement in RT (paying a 2x min.commission for the 1-unit order).

So, please implement an additional keyword for that. An alternative - and simpler solution - would be to allow "negative" trade size for entry orders (and/or for "pmms_strategy_set_entry_contracts ") and treat such orders as "phantom" or virtual with the size of 1, counting them in strategy statistics but not sending to the broker.

Comments (0)
There are no comments
History
Issue basics
  • Type of issue
    Feature request
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
  • Posted by
    user-offline.png  Zheka (Zheka)
  • Owned by
    Not owned by anyone
  • Assigned to
    Not assigned to anyone
  • Subscribers
    1 subscriber(s)
    Click here to show the list of subscribers
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates