Reconnect a session that is no longer active
Reconnect will create a new session and update the
'id' to the new authenticated id returned by the TrueFX
1 2 3 4
an object to be re-connected
other args for methods
After roughly 70 seconds, an authenticated TrueFX session
will time-out. Also, a connection made with
snapshot=FALSE will be disconnected after it is
A non-active TrueFX session id is treated like an unauthenticated session.
TFXsession object of an active/authenticated
1 2 3 4 5 6 7 8 9 10
## Cannot run because there may not be an internet connection ## Not run: ## You must use your username and password instead of JSTrader and Ou812 sess <- ConnectTrueFX("USD/JPY", username='JSTrader', password='Ou812') Disconnect(sess) isActive(sess) #FALSE Reconnect(sess) isActive(sess) #TRUE ## End(Not run)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.