sig
  type t =
      Market_data
    | Cancel_market_data
    | Submit_order
    | Cancel_order
    | Open_orders
    | Account_data
    | Executions
    | Contract_data
    | Market_depth
    | Cancel_market_depth
    | News_bulletins
    | Cancel_news_bulletins
    | Set_server_log_level
    | Auto_open_orders
    | All_open_orders
    | Managed_accounts
    | Financial_advisor
    | Replace_financial_advisor
    | History
    | Exercise_options
    | Scanner_subscription
    | Cancel_scanner_subscription
    | Scanner_parameters
    | Cancel_history
    | Server_time
    | Realtime_bars
    | Cancel_realtime_bars
    | Fundamental_data
    | Cancel_fundamental_data
    | Implied_volatility
    | Option_price
    | Cancel_implied_volatility
    | Cancel_option_price
  val tws_of_t : t -> Tws_prot.raw_tws
  val t_of_tws : Tws_prot.raw_tws -> t
  val val_type : t Tws_prot.Val_type.t
  val corresponding_query_has_id : Send_tag.t -> bool
  val t_of_sexp : Sexplib.Sexp.t -> Send_tag.t
  val sexp_of_t : Send_tag.t -> Sexplib.Sexp.t
end