The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

RTTWebClient

library(RTTWebClient)
library(lubridate)

Example of RTTWebApiHost (Wrapper about RTTWebClient to make request from R easy)

Init RTTWebApiHost obj

ttWebApiHost <- InitRTTWebApiHost(server = "ttlivewebapi.fxopen.com")

Get Dividends data.table

print(ttWebApiHost$GetDividends())

Get Symbol data.table

print(ttWebApiHost$GetSymbolsInfo())

Get BarHistory data.table

print(ttWebApiHost$GetBarsHistory("EURUSD", "Bid","M1", now("UTC") - days(1), now("UTC")))

Get TicksHistory data.table

print(ttWebApiHost$GetTickHistory("EURUSD",  now("UTC") - days(1), now("UTC")))

Get Currency data.table

print(ttWebApiHost$GetCurrencyInfo())

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.