oanda_switch: Switch Default OANDA Server

View source: R/switch.R

oanda_switchR Documentation

Switch Default OANDA Server

Description

Switch the default OANDA fxTrade server from 'practice' to 'live' or vice versa. Settings persist for the current session only.

Usage

oanda_switch()

Details

The default server at the start of a new session is the practice server. Call this function to switch to the live server.

This function can be used to toggle between the practice and live servers. Any cached variables for API key, account or instruments list are cleared each time this function is called.

For further details please refer to the OANDA fxTrade API vignette by calling: vignette("xoanda", package = "ichimoku").

Value

Invisible NULL. A message informs the resulting default server setting.

Examples

oanda_switch()
oanda_switch()


ichimoku documentation built on May 23, 2022, 9:05 a.m.