Description Usage Arguments Details Value Note Examples
Test to see if a session is active
1 2 3 4 |
x |
an object to test |
... |
other arguments for methods |
In order for a TFXsession to be active, it must have been
authenticated less than 1 minute ago. If it was created
with snapshot=TRUE
it will become inactive after
it is used once.
logical
This function assumes that if the session has not been used in 60 seconds is not active, even though TrueFX(tm) sessions actually stay active for roughly 70 seconds.
1 2 3 4 5 | ## Not run:
sess <- ConnectTrueFX("GBP/JPY", username='JSTrader', password='Ou812')
isActive(sess) #TRUE
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.