|
Hello,
There is no "method" but API simply sends the error message to
any client if symbol limit is reached.
(error code 101 Max number of tickers has been
reached.)
Best regards, Tomasz Janeczko amibroker.com
----- Original Message -----
Sent: Saturday, April 01, 2006 2:14
AM
Subject: [amibroker] Re: IB plugin -
question
made a short test with the Amibroker IB plugin before IB
turns their servers off over the weekend:
--- In [email protected],
"tech917" <[EMAIL PROTECTED]> wrote: > > some stupid questions
from me because I have not yet tested this > myself: > >
> this is also why the API can only handle 100 symbols at once
because > > the API is actually flowing through the TWS. >
> assuming the normal symbol limit of 100 symbols (not the higher
quota > for very active traders): > > 1) Do IB
customers get the 100 API symbols IN ADDITION TO the symbols >
viewed on a TWS page? >
If I'm not mistaken, the
limit of 100 symbols applies to the sum of the number of symbols watched
in the TWS and the number of symbols watched via API.
(?)
Which means that the answer to (1) would be
"no".
Interestingly, TJ's API plugin opens a pop up message to warn the
customer when the total number of symbols (TWS + API) exceeds the
limit.
This implies that is somehow possible via TWS API to detect
when the symbol limit is reached. (???) Interesting!
Glanced briefly over the TWS API docs, but didn't find any such
method. But I could have overlooked it, have not read the TWS
docs in detail yet. (and they're not written well, for example no
Javadoc used!!!).
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS
|