I just turned on XML serialization for some of my objects (using XmlSerializer), because I'm trying to feed some run-time data into a different program. This worked fine in strategy analyzer, but when I tried to run real time... NT popped up a mysterious message box warning me serialization failed while writing to database, etc, etc. (I'll try to screen capture next time.)
I'm guessing what's happening is that NinjaTrader uses the same .NET classes to serialize our strategy state...? And my custom-written attributes, etc... are some how interfering with that process? Can I get a confirmation that's the case from someone (Dierk?)?
If so, I guess the solution is to probably make the fields that are tied to my serializer private.. right?

Comment