Hello,

>From what I observed this only happens with newest TWS versions and old 
>versions work fine.
IB developers changed error codes since last version of IB plugin was updated 
therefore
previously working error handling can not catch new error codes
Later today a new release of IB plugin will be available that is compiled with 
new TWS API 9.41
and handling new error codes. 
I was testing it all day long today and it seems to work fine with newest TWS 
882.2.


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "reinsley" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, May 08, 2008 8:26 PM
Subject: [amibroker] 322 Error processing request : duplicate ticker id for api


> Hi,
> 
> I checked into archives about this error. It's very stressful to live
> with that.
> 
> My database is three future contracts in 1 minute bar in real time,
> and one index in one minute.
> 
> I ran a backtest on the running contract ( in RT) and I displayed the
> older contract ( last month) to run the backtester.
> 
> No problem till that point. 
> 
> The issue came after I came back to the contract of this month, and
> the backfilling hanged and send the wellknown error message :
> 
> Plugin status
> 
> Connected OK
> 
> Last message from TWS:
> FCK8-MONEP-FUT, 322, error processing request: "qb'; cause- duplicate
> ticker ID for API historical data query
> 
> I manually reconnected and datas disappeard from may 18 th.
> Unfortunately I pressed Yes to save database (as I activated "ask to
> save changed data" feature ), bad idea.
> And after many attempt of bakfill I lost datas from 19 to 30 of may. 
> 
> I closed AB, and reinstalled the backup up database. 
> The backfill worked by itself. All the datas were OK.
> The damned error message was still there. 
> I manually Reconnect ... and I lost again datas from May 18 to today.
> 
> I Unchecked Request data on save (RT only) and I lost the datas, too.
> 
> Right now :
> 
> unchecked "ask to save changed data" feature
> checked Request data on save (RT only)
> no manually Reconnect
> I check if my datas are Ok and menu | Save database
> IB throttling message alternates with Error message 322
> 
> If I check tools | preference | limit number of saved quotations max
> 1000, I lose datas, before May 2
> 
> I verified the path for the database and my datas went deeper into the
> directory. 
> Through Explorer, I manually moved them back and I did not went back
> into DataBase setting.
> 
> If I save the database while the 322 error message is blinking, I lose
> my datas.
> 
> I am not convinced that the issue is only IB side. AB should not kill
> my datas, or at least, should not kill more than one day.
> 
> NB : this morning the Future Rollover IB feature asked to add the June
> contract. I said yes and keeped other.
> 
> Hope this help.
> 
> Regards
> 
> 
> ------------------------------------
> 
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
> 
> 
> 

Reply via email to