Description Usage Arguments Value Side effect See Also Examples
Wait if you should before next API call to market (or any other source system) to do not get banned.
1 2 |
market |
character, a unique name of source system, could be any name |
antispam_interval |
numeric time in seconds between API calls on the particular source system, defeault |
verbose |
integer. Rbitcoin processing messages, print to console if |
numeric time of wait in seconds.
Environment of name Rbitcoin.last_api_call
in .GlobalEnv
which holds the timestamps of last api call per market
during the R session.
market.api.process
, wallet_manager
1 2 3 4 5 6 7 8 | ## Not run:
# run below code in a batch
wait <- antiddos(market = 'kraken', antispam_interval = 5, verbose = 1)
market.api.process('kraken',c('BTC','EUR'),'ticker')
wait2 <- antiddos(market = 'kraken', antispam_interval = 5, verbose = 1)
market.api.process('kraken',c('BTC','EUR'),'ticker')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.