module Bar_size: Bar_size
type
t = [ `Fifteen_min
| `Fifteen_sec
| `Five_min
| `Five_sec
| `One_day
| `One_hour
| `One_min
| `One_sec
| `Thirty_min
| `Thirty_sec
| `Three_min
| `Two_min ]
Specifies the size of historical bars.
include Stringable.S
include Twsable.S
val to_span : t -> Core.Std.Time.Span.t
to_span t
converts the bar size specification into a time span.
val t_of_sexp : Sexplib.Sexp.t -> t
val __t_of_sexp__ : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
to_span t
converts the bar size specification into a time span.