The script works on my side, at least with FX pairs. What symbols cause problems?

@JCL,
Why would this script not work with IB? Do you mean it will be slow to load data?
Probably, but why would it crash?

Here are 2 subsequent requests to the API when I just tested the script:
Quote:
2018-11-23 07:56:45.805 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:DET] ReqHistoricalData(20)::[version=6,ID=418,action=null,reqDesc=Symbol=AUD Type=CASH Expiry=null Strike=0.0 Put/Call=? Exchange=IDEALPRO CompExch=null Currency=USD Multiplier=null IbLocalSymbol=null IbTradingClass=null SecIdType=null SecId=null includeExpired=false needLeadFutureMonth=false needContinuousLeadFutureOnly=false newsSource=null Legs=null Special Info=null,endDateTimeStr=20101215 07:00:30GMT,backfillDuration=2 D ,whatToShow=4,barSizeSettingStr=1 min,formatDate=2,combo=null]
.....................
2018-11-23 07:56:47.024 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:INFO] Handling incoming UnSet(0) message.
2018-11-23 07:56:47.024 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:ERR] Invalid incoming request type - 0
2018-11-23 07:56:49.045 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:INFO] Handling incoming UnSet(0) message.
2018-11-23 07:56:49.045 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:ERR] Invalid incoming request type - 0
2018-11-23 07:56:51.014 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:INFO] Handling incoming UnSet(0) message.
2018-11-23 07:56:51.014 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:ERR] Invalid incoming request type - 0
2018-11-23 07:56:53.031 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:INFO] Handling incoming UnSet(0) message.
2018-11-23 07:56:53.031 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:ERR] Invalid incoming request type - 0
2018-11-23 07:56:55.000 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:INFO] Handling incoming UnSet(0) message.
2018-11-23 07:56:55.000 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:ERR] Invalid incoming request type - 0
2018-11-23 07:56:57.016 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:INFO] Handling incoming UnSet(0) message.
2018-11-23 07:56:57.016 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:ERR] Invalid incoming request type - 0

...................................
2018-11-23 07:56:58.172 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:DET] ReqHistoricalData(20)::[version=6,ID=419,action=null,reqDesc=Symbol=AUD Type=CASH Expiry=null Strike=0.0 Put/Call=? Exchange=IDEALPRO CompExch=null Currency=USD Multiplier=null IbLocalSymbol=null IbTradingClass=null SecIdType=null SecId=null includeExpired=false needLeadFutureMonth=false needContinuousLeadFutureOnly=false newsSource=null Legs=null Special Info=null,endDateTimeStr=20101214 15:45:30 GMT,backfillDuration=2 D,whatToShow=4,barSizeSettingStr=1 min,formatDate=2,combo=null]

2018-11-23 07:56:59.360 [QF] INFO [JTS-EServerSocket-948] - [1:63:76:1:0:0:0:DET] ReqHistoricalData(20)::[version=6,ID=420,action=null,reqDesc=Symbol=AUD Type=CASH Expiry=null Strike=0.0 Put/Call=? Exchange=IDEALPRO CompExch=null Currency=USD Multiplier=null IbLocalSymbol=null IbTradingClass=null SecIdType=null SecId=null includeExpired=false needLeadFutureMonth=false needContinuousLeadFutureOnly=false newsSource=null Legs=null Special Info=null,endDateTimeStr=20101214 00:45:30 GMT,backfillDuration=2 D,whatToShow=4,barSizeSettingStr=1 min,formatDate=2,combo=null]

And this is how MC requests same data from IB:
Quote:
2018-11-23 08:40:46.031 [QF] INFO [JTS-EServerSocket-1017] - [31116:139:139:1:0:0:0:DET] ReqHistoricalData(20)::[version=139,ID=1000005,action=null,reqDesc=Symbol=AUD.USD Type=CASH Expiry=null Strike=0.0 Put/Call=?
Exchange=IDEALPRO CompExch=null Currency=USD Multiplier=null IbLocalSymbol=null IbTradingClass=null SecIdType=null SecId=null includeExpired=false needLeadFutureMonth=false needContinuousLeadFutureOnly=false
newsSource=null Legs=null Special Info=null,endDateTimeStr=20181108 22:00:00 UTC,backfillDuration=5D, whatToShow=4,barSizeSettingStr=1 min,formatDate=2,combo=null]
.......
2018-11-23 08:40:47.172 [QF] INFO [JTS-EServerSocket-1017] - [31116:139:139:1:0:0:0:DET] ReqHistoricalData(20)::[version=139,ID=1000007,action=null,reqDesc=Symbol=AUD.USD Type=CASH Expiry=null Strike=0.0 Put/Call=?
Exchange=IDEALPRO CompExch=null Currency=USD Multiplier=null IbLocalSymbol=null IbTradingClass=null SecIdType=null SecId=null includeExpired=false needLeadFutureMonth=false needContinuousLeadFutureOnly=false
newsSource=null Legs=null Special Info=null,endDateTimeStr=20181101 21:00:00 UTC,backfillDuration=5 D, whatToShow=4,barSizeSettingStr=1 min,formatDate=2,combo=null]

No erroneous requests taking full 10sec and EndDateTime is calculated properly.

It took Zorro 14-15+ sec to download 1 day of data (in 3 requests), while it took MC 1 sec to download 5.

So much for "slow" IB API.