API Support Forum
OEC API > Market Data > How to get Indices and Energies
Author Topic: How to get Indices and Energies
(3 messages, Page 1 of 1)
Moderators: VPfau
KKirill44
Posts: 4
Joined: Apr 26, 2010


Posted: May 19, 2010 @ 02:28 AM             Msg. 1 of 3
Hello.

On connect we have to choose ONLY ONE contract group.

Example:
OECClient.Global.ContractGroups["Indicies"].BaseContracts

How to get Indicies and Energies at one connection?

Thanks.
VictorV
Posts: 746
Joined: May 08, 2007


Posted: May 19, 2010 @ 08:19 AM             Msg. 2 of 3
Hello,

Why you have to choose only one contract group?
KKirill44
Posts: 4
Joined: Apr 26, 2010


Posted: May 20, 2010 @ 01:55 AM             Msg. 3 of 3
Hello, Victor.

I've solved my problem.

Thanks for you reply.