Description Usage Arguments Author(s) Examples
Betfair getAccountFunds
1 | getAccountFunds(service = Exchange)
|
service |
service |
colin@betwise.co.uk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function(service=Exchange)
{
x <- .bfapi(match.call(), service=service)
list(
timestamp=.xmlp("timestamp", x),
availBalance=as.numeric(.xmlp("availBalance", x)),
balance=as.numeric(.xmlp("balance", x)),
commissionRetain=as.numeric(.xmlp("commissionRetain", x)),
creditLimit=as.numeric(.xmlp("creditLimit", x)),
currentBetfairPoints=as.numeric(.xmlp("currentBetfairPoints", x)),
expoLimit=as.numeric(.xmlp("expoLimit", x)),
exposure=as.numeric(.xmlp("exposure", x)),
holidaysAvailable=as.integer(.xmlp("holidaysAvailable", x))
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.