Register Login
Forums    February 9, 2012
TradersStudio Forums
Last Trade P&L
Last Post 07-11-2007 05:14 PM by David Rooke. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Bryan Bonner
New Member
New Member
Posts:17

--
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.
    David Rooke
    New Member
    New Member
    Posts:22

    --
    07-11-2007 05:14 PM
    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


    You are not authorized to post a reply.


     TradersStudio, Inc. ® Copyright 2004-2012 All Rights Reserved   Terms Of Use  Privacy Statement