historic_forex: Retrieve historic data for a currency pair

Description Usage Arguments Value Examples

View source: R/historic.R

Description

Retrieve historic data for a currency pair

Usage

1
historic_forex(pair, date, offset = 0, limit = 100)

Arguments

pair

Currency pair

date

Date

offset

Offset in seconds from date.

limit

Number of records to retrieve

Value

A data frame

Examples

1
2
3
4
5
## Not run: 
historic_forex("AUD/USD", "2018-02-02", limit = 20)
historic_forex("AUD/USD", "2018-02-02", offset = 43200, limit = 20)

## End(Not run)

DataWookie/polygon documentation built on May 22, 2019, 1:46 p.m.