SetPoloniexTradingURL-PoloniexTradingAPI-method: Setter for REST service URL for the Poloniex Trading API

Description Usage Arguments Value Examples

Description

Setter for REST service URL for the Poloniex Trading API

Usage

1
2
3
## S4 method for signature 'PoloniexTradingAPI'
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

1
2
3
4
5
6
7
8
## 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)

## End(Not run)

VermeirJellen/PoloniexR documentation built on May 22, 2019, 12:41 p.m.