reqRealTimeBars is served by the historical data server. But IBKR does not maintain ‘last price’ historical data for forex pairs. So you will never get realtime bars for any forex pair, if you have WhatToShow=”TRADES”: you’ll just get this error message 420:
?
Invalid Real-time Query:No historical market data for EUR/CASH@FXSUBPIP Last 0
?
But if you set WhatToShow=”MIDPOINT”, it works fine: