trading_login(username, password, base_url)
String. User Name
String. Password
String. Which environment are you going to connect:
reMarkets: 'https://api.remarkets.primary.com.ar'
production: 'https://api.primary.com.ar'
xOMS: 'https://api.<BROKER>.xoms.com.ar'
S4 rRofexConnection object.
reMarkets: Testing environment. For credentials go to https://remarkets.primary.ventures
production: Production environment. For credentials send an email to mpi@primary.com.ar
xOMS: Ask your broker about it.
Accessors: You can use accessors to get information about the Object by using:
token(conn)
base_url(conn)
login_date_time(conn)
agent(conn)
user_name(conn)
if (FALSE) {
conn <- trading_login(
username = "pepe",
password = "pepino",
base_url = "https://api.remarkets.primary.com.ar"
)
}