SetPoloniexPublicCommands-PoloniexPublicAPI-method: Setter for REST service commands for the Poloniex public API.

Description Usage Arguments Value Examples

Description

Setter for REST service commands for the Poloniex public API.

Usage

1
2
## S4 method for signature 'PoloniexPublicAPI'
SetPoloniexPublicCommands(theObject, commands)

Arguments

theObject

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

commands

- a list with Key/value string pairs Represents the command strings for the respective public API functions.

Value

theObject - a copy of the object with the modified command slot

Examples

1
2
3
4
5
6
7
poloniex.public <- PoloniexPublicAPI()
GetPoloniexPublicCommands(poloniex.public)
commands.new <- list(returnTicker = "returnTicker.new",
                    return24hVolume = "return24hVolume.new")
poloniex.public <- SetPoloniexPublicCommands(poloniex.public,
                                             commands = commands.new)
GetPoloniexPublicCommands(poloniex.public)

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