sig
module Tick_type : sig type t = [ `Ask | `Bid | `Midpoint | `Trades ] 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 ->
tick_type:Query.Realtime_bars.Tick_type.t ->
use_tradehours:bool -> Query.Realtime_bars.t
val t_of_sexp : Sexplib.Sexp.t -> Query.Realtime_bars.t
val sexp_of_t : Query.Realtime_bars.t -> Sexplib.Sexp.t
end