API Support Forum
OEC API > API Support > not receiving Symbols for a contract
Author Topic: not receiving Symbols for a contract
(2 messages, Page 1 of 1)
Moderators: VPfau
ENissan
Posts: 11
Joined: Mar 07, 2014


Posted: Mar 10, 2014 @ 02:11 PM             Msg. 1 of 2
after I log into the api, I am running this to get the ES contracts:

oecapi.BaseContracts["ES"].Contracts

but this call does not return anything. (size=0). am I missing something?

Thanks,
Eric

Eric Nissan
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Mar 10, 2014 @ 02:21 PM             Msg. 2 of 2
You need to request contracts from server first. Please take a look: http://www.openecry.com/api/api/html/0522b8f0-2870-43a9-ad0a-76a4421cbac1.htm

Victor Vins
Lead Software Developer