Interval Must Contain Two Elements
Issue #28
invalid
Hello, thanks a lot for this incredible package!
In VP function I'm receiving the following error :
Error in time %bw% "2020-08-06" : interval must contain two elements I understand the message and solution must be very simple, but I'm not getting it right. Can someone explain me this?
Best regards
Luís
P.S. This is using imported tick data :
> head(GBPUSD_mt5_ticks)
# A tibble: 6 x 5
time bid ask price volume
<dttm> <dbl> <dbl> <dbl> <dbl>
1 2020-08-05 01:00:00 1.31 1.31 1.31 3
2 2020-08-05 01:00:00 1.31 1.31 1.31 3
3 2020-08-05 01:00:00 1.31 1.31 1.31 4
4 2020-08-05 01:00:00 1.31 1.31 1.31 1
5 2020-08-05 01:00:00 1.31 1.31 1.31 3
6 2020-08-05 01:00:01 1.31 1.31 1.31 3
Comments (2)
-
repo owner -
repo owner - changed status to invalid
- Log in to comment
Hello,
The bw function works for data.table only as most of QuantTools functions. Please convert your tibble ticks to data.table.
Best Regards