Posted By bryanbonner on 06-15-2007 10:19 AM How do I get the p&l from the previous trade? I'm trying to use "GetInfoAboutTrades" but I get an error every time.
You're accessing the value wrongly. I hit this problem myself but because i lost all of my code after upgrading to 2.5 can't immediately point you to the answer (can't remember what i did). I'm in the process of recovering but by the time I've done that you'll either have an answer or you'll have worked it out for yourself.
If I remeber correctly the issue is that your accessing an object reference rather than a variable array...
Regards,
Dave
|