API Support Forum
OEC API > API Support > OECClient.Global.ContractGroups is empty.
Author Topic: OECClient.Global.ContractGroups is empty.
(2 messages, Page 1 of 1)
Moderators: VPfau
eo707
Posts: 68
Joined: Nov 08, 2011


Posted: Dec 08, 2011 @ 11:20 AM             Msg. 1 of 2
from the advance application, when user succeed to connect to server, on: OECClient_OnLoginComplete() method on the LoginForm.cs.

The code state:
foreach( BaseContract bc in OECClient.Global.ContractGroups["Indices"].BaseContracts )
if( bc.IsFuture )
OECClient.Global.RequestContracts( bc );

but "OECClient.Global.ContractGroups", has no content and empty.

Any help?
CMicciche902
Posts: 367
Joined:


Posted: Dec 08, 2011 @ 01:07 PM             Msg. 2 of 2
Contract Groups have been enabled. Please try again.

Chris M