I'm not exactly sure how to describe this but I wrote a new strategy which I was able to backtest against for a few days. After closing WLP I could no longer reopen WLP unless I removed the new strategy from my strategy folder.(I was getting an initialization error-- odd becausethe strategy is not part of a default workspace). Suspecting the Strategy file became corrupt I tried to open the strategy .xml file in word and received the following message "The following tags were not closed: Strategy, PositionSize."
Is there any way to reinitialize/Close these tags. the strategy is written in c#.
thanks
Paul
Size:
Color:
Even though the strategy isn't a part of a default workspace, this initialization error is expected because WL5 scans the Strategy folder on startup.
Move the failing XML file outside of the Data/Strategies folder, open the file in Notepad, copy only the strategy code from "using..." to the closing "}", and paste into a new strategy window.
Size:
Color:
Thanks, I actualy figured that out after i wrote the question, I just got back. Sorry for wasting your time.
Paul
Size:
Color:
Although, Do you know what may have caused the xml to fail in the first place? File Corruption?
Just wondering
Size:
Color:
I haven't experienced this kind of defect so far, and we'll most likely never know if it was a unique accident. Should you experience it again, please let us know.
Size:
Color:
OK
Size:
Color: