powered by
if you wrote live trading and paper trading evironment variables both in your .Renviron file, you can change trading environment.
change_trading_env()
"live" or "paper" string value
if (FALSE) change_trading_environment()
Run the code above in your browser using DataLab