GetBarsHistory: Get Bar History

View source: R/rWebClient.R

GetBarsHistoryR Documentation

Get Bar History

Description

Get Bar History

Arguments

symbol

a character. Symbol Name.

barsType.

a character. Bars Type. One from c("Ask", "Bid").

periodicity.

a character. Periodicity. From c("S1", "S10", "M1", "M5", "M15", "M30", "H1", "H4", "D1", "W1","MN1")

startTime

a POSIXct obj. Start Time in UTC.

endTime

a POSIXct obj. End Time in UTC.

count.

Integer. Count of returned Bars from startTime. Max is 1000. Can be negative. If count == 0, use time interval between startTime and endTime.

Value

data.table with Bar Info


RTTWebClient documentation built on March 18, 2022, 7:48 p.m.