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

Closed Thread
 
Thread Tools Rate Thread
  #1 (permalink)  
Old 06-15-2009, 03:48 AM
Member
 
Join Date: Dec 2008
Posts: 9
Henry_Xu is on a distinguished road
Question How can i get the all Instrument of the data

HI:
The FXCM return 12 Instruments, I got the value from the Offers table with the for circle. there have 12 types.I want to get all.How can i get all Instrument of the data?
  #2 (permalink)  
Old 06-15-2009, 04:12 AM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
You can get an enumeration of all available instruments through the TradingSessionStatus.getSecurities() method.
  #3 (permalink)  
Old 06-15-2009, 04:41 AM
Member
 
Join Date: Dec 2008
Posts: 9
Henry_Xu is on a distinguished road
Unhappy

Quote:
Originally Posted by FXCM Help View Post
You can get an enumeration of all available instruments through the TradingSessionStatus.getSecurities() method.
Is the name of the method TradingSessionStatus.getSecurities() ??
I can`t found it!~~~~
oh ! my god~~~
  #4 (permalink)  
Old 06-15-2009, 04:46 AM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
Are you using the java version of the Price Engine Client SDK?

If so, when you receive an callback of a trading session status, you will find that method available.
  #5 (permalink)  
Old 06-15-2009, 05:33 AM
Member
 
Join Date: Dec 2008
Posts: 9
Henry_Xu is on a distinguished road
Quote:
Originally Posted by FXCM Help View Post
Are you using the java version of the Price Engine Client SDK?

If so, when you receive an callback of a trading session status, you will find that method available.
I`m using C#.

If i login and IsLoggedIn() is true,
//- -!
FXCore.CoreAutClass oCore = new FXCore.CoreAutClass();
FXCore.TradeDeskAut oTradeDesk = (FXCore.TradeDeskAut)oCore.CreateTradeDesk("trade" );
oTradeDesk.Login("","","","");
if(oTradeDesk.IsLoggedIn())
{oTradeDesk.getSecurities()}// <--this ? no. i can`t get that Method``
// meybe ........
  #6 (permalink)  
Old 06-15-2009, 07:07 AM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
Could you please confirm you are using the Price Engine Client SDK?

It looks like you are using Order2Go COM API, instead of the Price Engine Client SDK.
  #7 (permalink)  
Old 06-15-2009, 10:10 PM
Member
 
Join Date: Dec 2008
Posts: 9
Henry_Xu is on a distinguished road
Quote:
Originally Posted by FXCM Help View Post
Could you please confirm you are using the Price Engine Client SDK?

It looks like you are using Order2Go COM API, instead of the Price Engine Client SDK.
yup, I`m using Order2Go COM API, It show me 12 types of Instruments.
so .....I need the Price Engine Client SDK ?..for the all?


where is it? i need to download it.
thank you.
  #8 (permalink)  
Old 06-16-2009, 01:02 AM
Moderator
 
Join Date: Jan 2006
Posts: 1,990
FXCM Help is on a distinguished road
You can take a look at the SetOfferSubscription method in the help file, which defines as follows

Sub
SetOfferSubscription (wcsOfferInstr as String, sStatus as String)
  #9 (permalink)  
Old 06-16-2009, 01:54 AM
Member
 
Join Date: Dec 2008
Posts: 9
Henry_Xu is on a distinguished road
Quote:
Originally Posted by FXCM Help View Post
You can take a look at the SetOfferSubscription method in the help file, which defines as follows

Sub
SetOfferSubscription (wcsOfferInstr as String, sStatus as String)

thank you !!!
very ...... very........much!!!
Closed Thread

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:08 PM.
Copyright ©2009 Daily FX. All Rights Reserved.