R/twsConnectionTime.R

Defines functions `twsConnectionTime`

`twsConnectionTime` <-
function(con) {
  if(!is.twsConnection(con))
    stop('con must be a twsConnection object')

  return(con$connected.at)
}

Try the IBrokers package in your browser

Any scripts or data that you put into this service are public.

IBrokers documentation built on Nov. 16, 2022, 5:05 p.m.