Description Usage Arguments Details Value
Input data dt should have these columns: Code, Date, Time, Price, Volume (Vol), Turnover (Tnvr)
1 | transform_ohlc(dt, vol_acc)
|
dt |
tick data or order book data |
vol_acc |
whether volume data is accumulated, auto detected if not supplied |
Output data contains these columns: Code, Date, Time, Open, High, Low, Close, Vol, Tnvr, VWAP, Avg
Note: this function sets key to dt on Code, Date, Time
a data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.