Learn R Programming

rgdax (version 1.2.1)

public_ticker: Get Latest Buy & Sell Trade.

Description

Snapshot information about the last trade (tick), best bid/ask and 24h volume.

Usage

public_ticker(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 'BTC-USD'. For all valid product ids, refer to public_info.

Value

A dataframe of most recent trade and 24 hr volume.

Examples

Run this code
# NOT RUN {
public_ticker()
public_ticker("BTC-EUR")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab