Function that it is use to log-in into Primary trading API
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.
# NOT RUN { conn <- trading_login( username = "pepe", password = "pepino", base_url = "https://api.remarkets.primary.com.ar" ) # }
Run the code above in your browser using DataCamp Workspace