RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        



CustomString Expand / Collapse
Message
Posted 12/30/2010 12:38:45 Post #12701
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Is it possible to update the value in CustomString after a position has been opened. What i want to do is set this to indicate I have added to a position (to stop further adds.)
Posted 12/30/2010 14:47:48 Post #12702
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
Yes, you should be able to change the CustomString. Note that both positions and orders have CustomStrings, when you open a position generally the CustomString for the position and the open order will be the same unless you set them separately.

You may not need to use CustomString to record whether you've added to a position, you could probably just look at the list of trades for the position and see if there were any with a TradeType of UserSubmitted.

Thanks,
Daniel
Posted 12/31/2010 04:23:17 Post #12705
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Ok - how do I change CustomString for an existing position?

Posted 1/4/2011 12:24:49 Post #12710
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
It's a member of the Position class, so are you having problems setting
Position.CustomString or are you asking how to iterate over existing positions?

blousetrader (12/31/2010)
Ok - how do I change CustomString for an existing position?

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb, young, dplaisted

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 5:00pm

2005-2007 © RightEdge Systems