Current location | Thread information | |
![]() ![]() ![]() ![]() ![]() ![]() |
Last Activity 4/21/2021 9:48 AM 9 replies, 1167 viewings |
|
|
Printer friendly version |
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
I am testing an ATM method with several market states each with a separate stock list and filter. The test invariably fails and produces no port sim results. The error is: There are no option related references in any of the strategies or market states. The market states are identical except for symbols but the one in the box is the one producing the error. This is the ATM log list produced. All the references to optstats don't seem right but what do I know. [Edited by LSJ on 10/1/2018 9:31 AM] ![]() ![]() ![]() | ||
^ Top | |||
Barry Cohen![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6338 Joined: 1/19/2004 ![]() |
This has nothing to do with options. I'm not 100% sure, but I will take a guess given what I'm seeing in your screenshots. You have a market state with the name "Real Estate Bullish Hotel/Motel". A csv file is created for every market state that is in use. The following characters are restricted for use in Windows filenames: /?<>\:*|" Since your market state uses a /, it's probably failing to create a file based on it & giving you that message. So you might be able to easily fix it if you rename the market state. And if you copied that method from someone, & this is the issue, you might want to tell the method creator the same thing. | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
Naw, I made that mistake all by myself. The errors it was throwing diverted me from the simple. Thanks. | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
On the naming issue I still get the error "illegal characters in path". I am using a list directly from Omniscan which seems to have the illegal character once that list is in my focus list. [Edited by LSJ on 10/2/2018 8:37 AM] ![]() | ||
^ Top | |||
Barry Cohen![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6338 Joined: 1/19/2004 ![]() |
What you showed initially was the market state had the invalid name. I'm not sure how you are using the OmniScan lists with ATM. | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
Yes, I imported this list and many others from Omniscan into the focus list. I then named market states the same to keep it organized so I would know what is in the state. When I created the state I copied the name of the list and overlooked the illegal character. Now though, even though I have deleted the "Hotel/Motel" market state and created a new state just "Hotel Motel" I still get an error. I believe because the "Hotel/Motel" Omniscan list is still in the focus list. I removed that Omniscan list from the focus list, did a copy of it and named it without the "/" and added it to my focus list. I restarted OT, removed all temp and results files and am re-running the backtest. So far, so good at 75%. Can you confirm that the Omniscan list with a "/" in the focus list does not propagate or cause an error because maybe I'm looking for lists in all the wrong places <:) [Edited by LSJ on 10/2/2018 10:53 AM] | ||
^ Top | |||
Barry Cohen![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6338 Joined: 1/19/2004 ![]() |
I'm not aware of any circumstance that causes an OmniScan list to be inserted into a Windows filename. If you hadn't restarted OT before that would be why it might've not fixed it. | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
After struggling with this for days I finally found it. Thad found indications that the brokerage.otd and the ATM ITS files were involved. Those were replaced but the problem persisted. The error messages and log pointed to a lot of things that were not it. It turns out that the answer was in the symbol for some user data indexes. There were not illegal characters but OT didn't like something about it, probably the length (what is the a limit for a symbol length?). They have all been removed and OT just finished a successful backtest. Whew! | ||
^ Top | |||
LSJ![]() Legend ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() |
Thought it was fixed but not quite. The ATM method in question consistently does this: Analysis runs in real mode and populates AT Focus List column. Switch to Port Sim and run analysis always results in "illegal Characters in Path" and aborts. Excerpt from log: 10/4/2018 6:57:50 AM Mode change from Real Mode --> Portfolio Sim. 10/4/2018 6:57:50 AM Creating charts table. 10/4/2018 7:00:12 AM Error 5: Illegal characters in path.. Occured in routine - CEquity .RunEquitySimulation Any suggestions? | ||
^ Top | |||
Barry Cohen![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6338 Joined: 1/19/2004 ![]() |
Does your market state or other market states still have an invalid character? If not, try deleting your ...OT2018/VBA/ITS folder before starting OT. |
|
|
Legend | Action | Notification | |||
Administrator
Forum Moderator |
Registered User
Unregistered User |
![]() |
Toggle e-mail notification |