otConnect: Connect to opentick servers

Description Usage Arguments Details Value Note Author(s) References See Also

Description

Function to establish connection to opentick servers.

Usage

1
otConnect(host = "delayed1.opentick.com", port = 10015, ...)

Arguments

host

Hostname of server to connect to; must align with port argument.

port

Port number of server to connect to; must align with host argument.

...

Further arguments to connection object (not currently implemented).

Details

This function establishes a connection to the opentick servers. It connects to both real-time and delayed servers.

Value

Returns the number one '1' invisibly.
Creates .otConnection in the opentick namespace.

Note

The available servers are listed below. Please see the URL in the references section for the most current list of servers.

Hostname Real-time port Delayed port
feed1.opentick.com 10010 NA
feed2.opentick.com 10010 NA
delayed1.opentick.com NA 10015
delayed2.opentick.com NA 10015

If connecting to a delayed datafeed, all data is delayed 20 minutes.

Author(s)

Josh Ulrich

References

http://www.opentick.com/dokuwiki/doku.php?id=general:opentick_servers

See Also

otLogin, otLogout


joshuaulrich/opentick documentation built on May 19, 2019, 8:54 p.m.