Go Back   DailyFX Forum > FXCM Products and Services > FXProgrammers > Discussion / Support Forum > Java Trading API Support

Reply
 
Thread Tools Rate Thread
  #1 (permalink)  
Old 09-30-2009, 12:27 PM
Member
 
Join Date: Aug 2007
Posts: 16
cilufarag is on a distinguished road
SecondaryClOrdID of PositionReport

Hi everybody,
Is there a way to update 'SecondaryClOrdID' field of an existing open position??

Thanks a lot,
Aldo H.
Reply With Quote
  #2 (permalink)  
Old 09-30-2009, 01:35 PM
Jose Sinning's Avatar
Moderator
 
Join Date: Nov 2008
Posts: 32
Jose Sinning is an unknown quantity at this point
Quote:
Originally Posted by cilufarag View Post
Hi everybody,
Is there a way to update 'SecondaryClOrdID' field of an existing open position??

Thanks a lot,
Aldo H.
Hello Aldo,

Yes, you can use

setSecondaryClOrdID
public void setSecondaryClOrdID(String aSecondaryClOrdID)set the custom text

Parameters:
aSecondaryClOrdID -
__________________
FXCM Programming Services
FXCM Servicios de Programacion

Last edited by Jose Sinning; 09-30-2009 at 01:36 PM.. Reason: Reply: SecondaryClOrdID of PositionReport
Reply With Quote
  #3 (permalink)  
Old 09-30-2009, 02:13 PM
Jose Sinning's Avatar
Moderator
 
Join Date: Nov 2008
Posts: 32
Jose Sinning is an unknown quantity at this point
Second Reply: SecondaryClOrdID of PositionReport

Quote:
Originally Posted by cilufarag View Post
Hi everybody,
Is there a way to update 'SecondaryClOrdID' field of an existing open position??

Thanks a lot,
Aldo H.
Hello Aldo,

I double checked and unfortunately setSecondaryClOrdID would not work as this would modify the local value and not the value on the server. Modifying the value on the server is not possible for an open position, and you can only change it for an entry order if you modify it using OrdercancelReplaceRequest.

Regards,
__________________
FXCM Programming Services
FXCM Servicios de Programacion
Reply With Quote
  #4 (permalink)  
Old 09-30-2009, 02:41 PM
Member
 
Join Date: Aug 2007
Posts: 16
cilufarag is on a distinguished road
Ok Jose, thanks for the information!!
Aldo H.
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.

All times are GMT -5. The time now is 09:28 PM.
Copyright ©2009 Daily FX. All Rights Reserved.