powered by
Process a trading request.
# S4 method for PoloniexTradingAPI ProcessTradingRequest(theObject, command, args = list())
The Trading client API object on which the function should be called.
- A length-one character vector. Represents the trading command that should be executed by Poloniex.
- list of optional trading arguments for the trading command that should be executed.
List - Results of the Trading Requests. Exact contents depend on the type of Trading API Call that should be processed.
# NOT RUN { poloniex.trading <- PoloniexTradingAPI(your.key, your.secret) deposit.addresses <- ProcessTradingRequest(poloniex.trading, command = poloniex.trading@commands$returnDepositAddresses) # }
Run the code above in your browser using DataLab