BF_Acount_Management: Account management.

Description Usage Arguments Details Value Author(s) References See Also

Description

Various functions to access information about your account and wallets.

getAccountStatement: Obtain information about transactions involving your local wallet on an exchange server.

getSubscriptionInfo: Return information on your API subscription.

transferFunds: Transfer funds between your UK and Australian account wallets. The concept of account wallets has been introduced in release 5.0 of the Betfair API. Instead of a single account holding all of a customer's funds for betting on sports events, there are now two "wallets" for each customer's account: one for betting on the UK exchange server and one for betting on the Australian exchange server.

viewProfile: Retrieve information about the user account, such as the registered address, e-mail address, phone numbers, etc.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
getAccountFunds(server = getOption("bfServer"),
  output = getOption("bfOutput"), curlOpts = list())

getAccountStatement(startDate = Sys.Date() - 1, endDate = Sys.time(),
  startRecord = 0, recordCount = 100, itemsIncluded = "ALL", locale,
  ignoreAutoTransfers = TRUE, server = getOption("bfServer"),
  output = getOption("bfOutput"), curlOpts = list())

getSubscriptionInfo(output = getOption("bfOutput"), curlOpts = list())

transferFunds(amount, sourceWalletId = 1, targetWalletId = 2,
  output = getOption("bfOutput"), curlOpts = list())

viewProfile(output = getOption("bfOutput"), curlOpts = list())

Arguments

server

"GB" (default) or "AU" - a Betfair exchange server to use. You can set the default with options(bfServer = "AU").

output

Indicates the form of the returned value. Can be "simple" (default), "xml", "list" or "S4". See betfairly-package.

curlOpts

RCurl options passed directly to curlPerform. You can also set the defaults with options(bfCurlOpts = list(opt1 = val1, opt2 = val2, ...)).

startDate

Return records on or after this date.

endDate

Return records on or before this date.

startRecord

The first record number to return (supports paging). Record numbering starts from 0. For example, to retrieve the third record and higher, set startRecord to 2.

recordCount

The maximum number of records to return.

itemsIncluded

Determines what type of statements items to return.

locale

Specify the language for the reply if you want a different language than the account default.

ignoreAutoTransfers

_

server

"GB" (default) or "AU" - a Betfair exchange server to use. You can set the default with options(bfServer = "AU").

output

Indicates the form of the returned value. Can be "simple" (default), "xml", "list" or "S4". See betfairly-package.

curlOpts

RCurl options passed directly to curlPerform. You can also set the defaults with options(bfCurlOpts = list(opt1 = val1, opt2 = val2, ...)).

output

Indicates the form of the returned value. Can be "simple" (default), "xml", "list" or "S4". See betfairly-package.

curlOpts

RCurl options passed directly to curlPerform. You can also set the defaults with options(bfCurlOpts = list(opt1 = val1, opt2 = val2, ...)).

amount

_

sourceWalletId

The wallet that you are requesting the funds to be transferred from. There are two possible wallets: 1 = UK Sports Betting wallet 2 = Australian Sports Betting wallet

targetWalletId

The wallet that you are requesting the funds to be transferred from.

output

Indicates the form of the returned value. Can be "simple" (default), "xml", "list" or "S4". See betfairly-package.

curlOpts

RCurl options passed directly to curlPerform. You can also set the defaults with options(bfCurlOpts = list(opt1 = val1, opt2 = val2, ...)).

output

Indicates the form of the returned value. Can be "simple" (default), "xml", "list" or "S4". See betfairly-package.

curlOpts

RCurl options passed directly to curlPerform. You can also set the defaults with options(bfCurlOpts = list(opt1 = val1, opt2 = val2, ...)).

Details

getAccountFunds: Retrieve information about your local wallet on a particular exchange server. For an explanation of the concept of wallets, see "Using Region-specific Wallets for Placing Bets" on page 12 in Betfair API Developer Documentation.

Value

Object of class GetAccountFundsRespSimple with no extra slots.

Data.frame of class GetAccountStatementRespSimpleDF with no extra slots.

Object of class getSubscriptionInfo with no extra slots.

Object of class TransferFundsRespSimple with no extra slots.

Object of class ViewProfileRespSimple with not extra slots.

Author(s)

Vitalie Spinu (spinuvit@gmail.com)

Vitalie Spinu (spinuvit@gmail.com)

References

http://code.google.com/p/betfairly/, https://docs.developer.betfair.com/betfair/

http://code.google.com/p/betfairly/, https://docs.developer.betfair.com/betfair/

See Also

betfairly-package bfSimpleOutput-class

betfairly-package bfSimpleOutput-class


vspinu/betfairly documentation built on May 3, 2019, 7:08 p.m.