bar: Fetch Bar Data

Description Usage Arguments Value See Also

Description

Fetches bar data from historical data service

Usage

1
bar(dateRange, symbol, period, isLocal)

Arguments

dateRange

A character vector of length two c("YYYY-MM-DD","YYYY-MM-DD").

symbol

A character vector of length 1 that denotes a symbol.

period

A character value is used with bar datatype to analyze data in different time segments.One of "1min","5min","1hour" and "1day".

Value

A data frame object is returned that contains open,high,low,close,quantity and weighted average price columns.

See Also

trade, bestbidoffer, depth, openinterest.


martingale/Rmatriksdata documentation built on May 21, 2019, 12:38 p.m.