| tn_map_trades | R Documentation | 
The map variant of tn_trades() uses a repeat loop to continually
request trade data between two time points.
The function will stop when the start_date is greater than end_date.
tn_map_trades(
  symbol = "XBTUSD",
  start_date = "2019-01-01 12:00:00",
  end_date = "2019-01-01 12:15:00",
  filter = NULL,
  use_auth = FALSE,
  verbose = FALSE
)
symbol | 
 a character string for the instrument symbol.
Use   | 
start_date | 
 character string.
Starting date for results in the format   | 
end_date | 
 character string.
Ending date for results in the format   | 
filter | 
 an optional character string for table filtering.
Send JSON key/value pairs, such as   | 
use_auth | 
 logical. Use   | 
verbose | 
 logical. If   | 
## Not run: 
# Get all trade data between 2019-05-03 12:00:00 and 2019-05-03 12:15:00
tn_map_trades(
  start_date = "2019-05-03 12:00:00",
  end_date = "2019-05-03 12:15:00",
  symbol = "XBTUSD"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.