fills: Get List of Most Recent Fills

Description Usage Arguments Value Examples

View source: R/fills.R

Description

This is an auth based function. User must have valid api keys generated by GDAX which must be passed as mandatory arguments. The functions takes product_id as an optional param and returns a list of all previously filled orders.

Usage

1
fills(api.key, secret, passphrase, product_id = NULL)

Arguments

api.key

Mandatory character value. This is the API key as generated by GDAX. Typically a 32 character value.

secret

Mandatory character value. This is the API secret as generated by GDAX. Typically a 88 character value.

passphrase

Mandatory character value. This is the passphrase as generated by GDAX. Typically a 11 character value.

product_id

Optional character value for the currency pair. The default is NULL which is equivalent of 100 most recent fills. This param when provided is case insensitive and must be one of the valid currency-pair. The list of valid currency-pairs can be fetched using public_info.

Value

Dataframe with fills for all products or for the provided products. The volume is quoted in USD.

Examples

1
2
3
4
5
6
7
## Not run: 
fills(api.key = your_key,
secret = your_api_secret,
passphrase = your_api_pass,
product_id = "BTC-USD")

## End(Not run)

rgdax documentation built on Aug. 3, 2021, 9:06 a.m.