Learn R Programming

PoloniexR (version 0.0.1)

SetPoloniexTradingURL: Setter for REST service URL for the Poloniex Trading API

Description

Setter for REST service URL for the Poloniex Trading API

Usage

SetPoloniexTradingURL(theObject, trading.base.url)

Arguments

theObject

The Trading client API object on which the function should be called

trading.base.url

length-one character vector. Represents the REST service URL.

Value

theObject - a copy of the object with the modified trading.base.url slot

Examples

Run this code
# NOT RUN {
poloniex.trading <- PoloniexTradingAPI(your.key, your.secret,
                                       trading.base.url = "https://not_working/trading?")
poloniex.trading <- SetPoloniexTradingURL(poloniex.trading, 
                                         trading.base.url = "https://poloniex.com/tradingApi?")
GetPoloniexTradingURL(poloniex.trading)
# }

Run the code above in your browser using DataLab