API Support Forum
OEC API > API Support > Options for a base contract
Author Topic: Options for a base contract
(5 messages, Page 1 of 1)
Moderators: VPfau
DKnapp3857
Posts: 7
Joined: Jul 05, 2022


Posted: Jul 10, 2022 @ 07:01 PM             Msg. 1 of 5
How do I retrieve all the options contracts for a base symbol?
SPikalov
Posts: 25
Joined:


Posted: Jul 13, 2022 @ 05:18 AM             Msg. 2 of 5
Please see:
https://bitbucket.org/GainFuturesDev/workspace/snippets/8Eqk9b/gfapipagedloadcontractsbybasesymbol
DKnapp3857
Posts: 7
Joined: Jul 05, 2022


Posted: Jul 16, 2022 @ 03:38 PM             Msg. 3 of 5
Thanks for your reply.

I can retrieve options on ES for EW3 (OEW3) and EW (OEW), which are the end of month and the regular monthly expirations. I cannot retrieve the weekly options. I've tried E3A (OE3A) and (OE3) and I don't get anything. How do I get the weekly options?
SPikalov
Posts: 25
Joined:


Posted: Jul 18, 2022 @ 03:22 AM             Msg. 4 of 5
There is no difference between ‘OEW3’ and ‘OE3A’ or ‘OE4A’
And I get results for all contracts only by changing ‘private const string BaseSymbol’ in the example
So, please provide additional info:
At each step in the example, you are not getting data?
Do you see these contracts in ‘Gain Trader Developer’ – Lookup window ?
DKnapp3857
Posts: 7
Joined: Jul 05, 2022


Posted: Aug 18, 2022 @ 10:07 PM             Msg. 5 of 5
Is there a limit to the number of symbols in development that I can subscribe to? Is there a limit in production and if so can I get 1500 symbol (options)?

Thanks
Edited by DKnapp3857 on Aug 24, 2022 09:26 PM