Is there any reason your StreamWriter example won't work inside of a strategy? Any special requirements for using inside of a strategy?
I get a log error of:
Error on calling 'OnBarUpdate' method for strategy 'VCMfutures': Object reference not set to an instance of an object.
If I comment out the Streamwriter code this error is eliminated.
Jim
Comment