GetBarsHistory | R Documentation |
Get Bar History
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. |
data.table with Bar Info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.