public_trades: Get Latest Buy & Sell Trades.

Description Usage Arguments Value Examples

View source: R/public_trades.R

Description

This is a public function and will fetch the 100 latest trades for the provided currency pair (product_id).

Usage

1
public_trades(product_id = "BTC-USD")

Arguments

product_id

Optional character parameter. This is a case insensitive value of the product id for which the order book is desired. Default to 'LTC-USD'. For all valid product ids, refer to public_info.

Value

A dataframe of most recent trades indicating if it was buy / sell and what the trade size was.

Examples

1
2
3
4
5
## Not run: 
public_trades()
public_trades("BTC-EUR")

## End(Not run)

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