Description Usage Arguments Value Examples
Setter for REST service commands for the Poloniex Trading API.
1 2 | ## S4 method for signature 'PoloniexTradingAPI'
SetPoloniexTradingCommands(theObject, commands)
|
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. |
theObject - a copy of the object with the modified command slot.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.