Support Board
Date/Time: Mon, 03 Feb 2025 08:17:38 +0000
Post From: sc.CancelOrder is causing CPU exception when a user is looking at another chartbook
[2019-10-29 12:59:36] |
@sstfrederik - Posts: 405 |
I ran that test on a clean install of SC 1997 (again), same result. I newly installed SC 1997 and only changed the sierra3.cfg. Removed all other dll's in data folder before testing, only ran the posted chartbooks of which chartbook 50 has one dll as posted with source code above. This is not my first week using SC either. My conclusion: there is some setting (as my sierra3.cfg is different from the default one) causing this (it only happens when using my sierra3.cfg not on the default cfg). You changed something in pre-release as that is working fine and has no issues. My point is: if anyone runs an auto strategy on an earlier SC version and happens to have some kind of setting set (like in my case) there is the potential their order will not get cancelled due to this issue. This can not be acceptable and users should know about this. Can't you run a diff on the cfg files and check on potential causes? I will be happy to do the testing for you. As I sell an Autotrading study it would be helpful to be able to tell my clients which setting could cause a possible issue with the cancel order interaction. Fortunately none of my clients have reported having this issue this yet. I guess right now I all I can tell is upgrade, SC fixed this thing in pre-release. |