API Support Forum
OEC API > API Support > Symbol Search
Author Topic: Symbol Search
(2 messages, Page 1 of 1)
Moderators: VPfau
PDavies541
Posts: 21
Joined: Feb 01, 2013


Posted: Sep 22, 2017 @ 06:10 AM             Msg. 1 of 2
Hi

We have your sample app and we are using the symbol search.

A search for Futures contracts, exchange CME, with a search string of * returns 116 rows.

We do the same thing on our side, it returns 51 rows.

We tried putting in our UUID, username & password into the sample app and it still returned 116 rows but on our app we get 51. We even tried the UUID from the sample app in our app but still got 51 rows.

I understand there is a limit of 50 rows. Is that by UUID or username? Or something else?

Is this limit going to be the same on the customer side? It does seem a bit odd to limit the amount of symbols a search will return. Is there any way to extend the limit?

Cheers

Pete
Peter Davies
CMicciche902
Posts: 367
Joined:


Posted: Sep 22, 2017 @ 11:04 AM             Msg. 2 of 2
If you use a broad search, you should be able to pull more than 50 results. I was able to pull hundreds of CME contracts with symbol lookup using another third party software who wrote to our API.

Review the following topic for assistance. In the example, we request 10 results of ES contracts:https://gainfutures.com/api/html/0522b8f0-2870-43a9-ad0a-76a4421cbac1.htm.

We also have a Bitbucket sample: https://bitbucket.org/GainFuturesDev/advancedexample/src/2d5813e01408c461922452dc0caa7b6a4ded8c3b/SymbolLookup.cs?at=master&fileviewer=file-view-default

In OEC Trader, we do limit the number of results in the Contract lookup to 50, but you should be able to pull more than this in your application.

If you still cannot get more than 50, let me know and I'll have the Developers assist.
Chris M