API Support Forum
OEC API > API Support > HowTo get Contract from BaseContract
Author Topic: HowTo get Contract from BaseContract
(3 messages, Page 1 of 1)
Moderators: VPfau
THowes697
Posts: 7
Joined: Jun 22, 2011


Posted: Aug 29, 2011 @ 08:38 PM             Msg. 1 of 3
Hope this doesn't sound to goofy....
How does one get a specific contract, like ESU1, from a basecontract of ES?

I've been at this for two days and searched the Forum endlessly.

Regards Thomas
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Aug 30, 2011 @ 08:51 AM             Msg. 2 of 3
Hello,

you need to check http://www.openecry.com/api/api/OEC.API.BaseContract.Contracts.html or http://www.openecry.com/api/api/OEC.API.OECClient.Contracts.html first. If contracts is not there, you need to send request to lookup it on server via http://www.openecry.com/api/api/OEC.API.OECClient.SymbolLookup_overloads.html

Victor Vins
Lead Software Developer
THowes697
Posts: 7
Joined: Jun 22, 2011


Posted: Aug 30, 2011 @ 09:30 AM             Msg. 3 of 3
Thanks Victor

Regards Thomas