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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.