SetPoloniexPublicCommands: 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
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)

PoloniexR documentation built on July 11, 2017, 1:02 a.m.