SetPoloniexTradingCommands-PoloniexTradingAPI-method: Setter for REST service commands for the Poloniex Trading...

Description Usage Arguments Value Examples

Description

Setter for REST service commands for the Poloniex Trading API.

Usage

1
2
## S4 method for signature 'PoloniexTradingAPI'
SetPoloniexTradingCommands(theObject, commands)

Arguments

theObject

The Trading 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 Trading API functions.

Value

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
poloniex.trading <- PoloniexTradingAPI(your.key, your.secret)
GetPoloniexTradingCommands(poloniex.trading)
commands.new <- list(returnTradeHistory = "returnTradeHistory.new",
                     withdraw = "withdraw.new")
poloniex.trading <- SetPoloniexTradingCommands(poloniex.trading,
                                               commands = commands.new)
GetPoloniexTradingCommands(poloniex.trading)

## End(Not run)

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