Skip to content
Back to formatted view

Raw Message

Message-ID: <DM8PR17MB4901C08F30B9D15EF911A569DEA09@DM8PR17MB4901.namprd17.prod.outlook.com>
Date: 2023-02-16T01:59:03Z
From: Patrick Bechbache
Subject: IBrokers Snapshot not Working

Hello,

This code was working fine for the past few years and up until this week, but as of today it no longer works:

library(IBrokers)
tws <- twsConnect()
AUDUSD <- twsCurrency("AUD","USD")
Contract <- list(AUDUSD)
bidPrice <- reqMktData(tws,Contract[[1]],snapshot=TRUE)

I tried with other currencies and same issue. When I try with Snapshot=FALSE,  I get error "Your API version does not support fractional size rules. Please upgrade to a minimum version 163." I reinstalled the API & TWS and now get good streaming prices.
Does anyone know why snapshot=TRUE not work?

Thanks,
Patrick



	[[alternative HTML version deleted]]