sig
module Tick_type :
sig
type t =
[ `Ask
| `Bid
| `Bid_ask
| `Historical_volatility
| `Implied_volatility
| `Midpoint
| `Option_volume
| `Trades ]
val of_string : string -> t
val to_string : t -> string
val t_of_sexp : Sexplib.Sexp.t -> Query.History.Tick_type.t
val __t_of_sexp__ : Sexplib.Sexp.t -> Query.History.Tick_type.t
val sexp_of_t : Query.History.Tick_type.t -> Sexplib.Sexp.t
end
type t
val pickler : t Tws_prot.Pickler.t
val unpickler : t Tws_prot.Unpickler.t Core.Std.Only_in_test.t
val ( = ) : t -> t -> bool
val create :
contract:[< Security_type.t ] Contract.t ->
until:Core.Std.Time.t ->
bar_size:Bar_size.t ->
bar_span:Bar_span.t ->
use_tradehours:bool ->
tick_type:Query.History.Tick_type.t -> Query.History.t
val t_of_sexp : Sexplib.Sexp.t -> Query.History.t
val sexp_of_t : Query.History.t -> Sexplib.Sexp.t
end