+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-1295

PL Parameter [PrintFilesRetainedOnAbort]

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

It would be very useful if there was a parameter that could be put at the top of a script such as [PrintFilesRetainedOnAbort]. It would mean that if the program aborts and turns off, the print files would still be there for debugging. Currently we can do this with the FileAppend. Unfortunately FileAppend requires all those numtostr commands for numeric fields. This makes the fileappend command a lot more work to use. With this new parameter the print files would be cleared on restart of the study for each new day or on restart after an abort so that those print files did not get too large. With fileappend we have to remember to put a filedelete command in the currentbar=1 location so that those fileappend files do not get too large.
. . . 
It woud be even more useful if there was a global paramter in MC itself that applied this parameter to all print files by default. If there was I would have it turned on and I would be okay with it being turned on as default in a coming release (going against my belief that all defaults should be set to the prior behavior). I can't see any problem with this since the print files just stick around overnight until the next startup of MC for the coming trading day. That way they are only cleared on startup and if there is an abort or some after hours debugging we decide to do we always have the print files there waiting. However by having that global parameter at least there would be a way to turn it off if for some unforseen reason a user wanted them cleared after the trading day is over rather than the next day on startup. I can only see a user wanting to do this if they are very short on disk space and to busy to get a disk size upgrade.

Steps to reproduce this issue

Abort a script and you will find the print files are not available.

Comments (0)
There are no comments
History
Issue basics
  • Type of issue
    Feature request
  • Category
    Usability
  • Targeted for
    Not determined
  • Status
    Not Reviewed
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
    Normal
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