reqCurrentTime: Request The Current TWS Time

View source: R/reqCurrentTime.R

reqCurrentTimeR Documentation

Request The Current TWS Time

Description

Returns the current time from the TWS server, expressed as seconds since 1970-01-01 GMT.

Usage

reqCurrentTime(twsconn)

Arguments

twsconn

a valid tws connection object

Value

Seconds since 1970-01-01 GMT

Author(s)

Jeffrey A. Ryan

References

Interactive Brokers https://www.interactivebrokers.com

Examples

## Not run: 
tws <- twsConnect()
reqCurrentTime(tws)

## End(Not run)

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