reqCurrentTime: Request the current time from the IB server

View source: R/reqCurrentTime.R

reqCurrentTimeR Documentation

Request the current time from the IB server

Description

IB's current time. TWS or IB Gateway is synchronized with the server (not local computer) using NTP and this function will receive the current time in TWS.

Usage

reqCurrentTime(ib_con)

Arguments

ib_con

a valid tws connection.

Value

returns the current time of the IB server

Examples

## Not run: 
ib_con <- ib_connect()
reqCurrentTime(ib_con)

## End(Not run)

pverspeelt/ibapir documentation built on March 29, 2022, 11:57 a.m.