fills {rgdax} | R Documentation |
Get List of Most Recent Fills
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
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 |
Value
Dataframe with fills for all products or for the provided products. The volume is quoted in USD.
Examples
## Not run:
fills(api.key = your_key,
secret = your_api_secret,
passphrase = your_api_pass,
product_id = "BTC-USD")
## End(Not run)