module History: Response.History
type
t = private {
|
start : Core.Std.Time.t ; |
|
stop : Core.Std.Time.t ; |
|
num_bars : int ; |
|
bars : Bar.t list ; |
}
val bars : t -> Bar.t list
val num_bars : t -> int
val stop : t -> Core.Std.Time.t
val start : t -> Core.Std.Time.t
module Fields: sig
.. end
include Response_intf.S
val create : bars:Bar.t list -> t
module Data_frame: sig
.. end
val unpack_bars : t -> Data_frame.t
unpack_bars t
unpacks bars into a data frame that stores prices and
volumes in its columns.
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
unpack_bars t
unpacks bars into a data frame that stores prices and
volumes in its columns.