开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

java api, maximum number of requests at a time ?


usernew
 

I am using the Java API. When I send more than 40 or so requests for
ticker info, I get the following exception:

Error: Max number of tickers has been reached.

Then I tried to do the following:

connect;
for(i=0, i < 40; i++) send requests;
capture info using event handlers;
disconnect;
connect;
for(i=0; i < 40; i++) send requests;
capture info using event handlers;
disconnect;
etc.

But the problem is each time there is a connect() call, someone needs
to manually click on the "Yes" button on the dialog that asks "Accept
incoming connection attempt?"

I want to be able to download info on few hundred tickers at a time,
what should I do ?

Thanks in advance.

Join [email protected] to automatically receive all group messages.