RightEdge Forums
Main
Home
Search
Members
Calendar
Who's On
Welcome Guest
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
»
General
»
Community Support
»
CustomString
CustomString
Rate Topic
Display Mode
Topic Options
Message
Posted 12/30/2010 12:38:45
Post #12701
blousetrader
blousetrader
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
dplaisted
dplaisted
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
blousetrader
blousetrader
Ok - how do I change CustomString for an existing position?
Posted 1/4/2011 12:24:49
Post #12710
billb
billb
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
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators:
billb
,
young
,
dplaisted
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
may
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
may
post and upload images.
Forum Jump...
----------------
Forum Home
Search
Members List
Calendar
Who's Online
----------------
RightEdge Announcements
|-- RightEdge Announcements
General
|-- General Discussion
|-- Community Support
|-- Suggestion Box
|-- Plugin Development
Trading
|-- Trading Systems
|---- Uploaded Trading Systems
|-- Technical Indicators
|-- Order Execution
|-- Trading Vehicles
Programming and Software Development
|-- Programming Questions
All times are GMT -5:00, Time now is 5:00pm
2005-2007 © RightEdge Systems