module Submit_order: sig
.. end
type
t = {
|
con_id : Contract_id.t option ; |
|
symbol : Symbol.t ; |
|
sec_type : string ; |
|
expiry : Core.Std.Date.t option ; |
|
strike : Price.t option ; |
|
option_right : Option_right.t option ; |
|
multiplier : int option ; |
|
exchange : Exchange.t ; |
|
listing_exchange : Exchange.t option ; |
|
currency : Currency.t ; |
|
local_symbol : Symbol.t option ; |
|
sec_id_type : Security_id.Type.t option ; |
|
sec_id : Security_id.Id.t option ; |
|
action : string ; |
|
quantity : Volume.t ; |
|
order_kind : string ; |
|
limit_price : Price.t option ; |
|
stop_price : Price.t option ; |
|
time_in_force : Raw_order.Time_in_force.t option ; |
|
oca_group_name : string option ; |
|
account_code : Account_code.t ; |
|
open_close : Raw_order.Open_close.t ; |
|
origin : Raw_order.Origin.t ; |
|
order_ref : string option ; |
|
transmit : bool ; |
|
parent_id : Order_id.t option ; |
|
block_order : bool ; |
|
sweep_to_fill : bool ; |
|
display_size : Volume.t option ; |
|
stop_trigger_method : Raw_order.Stop_trigger_method.t ; |
|
outside_regular_trading_hours : bool ; |
|
hidden : bool ; |
|
shares_allocation : string ; |
|
discretionary_amount : float option ; |
|
good_after_date_time : Core.Std.Time.t option ; |
|
good_till_date_time : Core.Std.Time.t option ; |
|
financial_advisor_group : string option ; |
|
financial_advisor_method : string option ; |
|
financial_advisor_percentage : string option ; |
|
financial_advisor_profile : string option ; |
|
short_sale_slot : int option ; |
|
designated_location : string option ; |
|
exemption_code : int ; |
|
oca_type : Raw_order.Oca_type.t option ; |
|
rule80A : Raw_order.Rule80A.t option ; |
|
settling_firm : string option ; |
|
all_or_none : bool ; |
|
minimum_quantity : Volume.t option ; |
|
percent_offset : float option ; |
|
electronic_trade_only : bool ; |
|
firm_quote_only : bool ; |
|
nbbo_price_cap : float option ; |
|
auction_strategy : Raw_order.Auction_strategy.t option ; |
|
starting_price : Price.t option ; |
|
stock_reference_price : Price.t option ; |
|
delta : float option ; |
|
lower_stock_price_range : Price.t option ; |
|
upper_stock_price_range : Price.t option ; |
|
override_percentage_constraints : bool ; |
|
volatility : float option ; |
|
volatility_type : Raw_order.Volatility_type.t option ; |
|
delta_neutral_order_type : Order_type.t option ; |
|
delta_neutral_aux_price : Price.t option ; |
|
continuous_update : bool ; |
|
reference_price_type : Raw_order.Reference_price_type.t option ; |
|
trailing_stop_price : Price.t option ; |
|
trailing_percent : float option ; |
|
scale_initial_level_size : Volume.t option ; |
|
scale_subsequent_level_size : Volume.t option ; |
|
scale_price_increment : float option ; |
|
hedge_type : Raw_order.Hedge_type.t option ; |
|
opt_out_smart_routing : bool ; |
|
clearing_account : string option ; |
|
clearing_intent : Raw_order.Clearing_intent.t option ; |
|
not_held : bool ; |
|
underlying_combo : bool ; |
|
algo_strategy : string option ; |
|
request_pre_trade_information : bool ; |
}
val request_pre_trade_information : t -> bool
val algo_strategy : t -> string option
val underlying_combo : t -> bool
val not_held : t -> bool
val clearing_intent : t -> Raw_order.Clearing_intent.t option
val clearing_account : t -> string option
val opt_out_smart_routing : t -> bool
val hedge_type : t -> Raw_order.Hedge_type.t option
val scale_price_increment : t -> float option
val scale_subsequent_level_size : t -> Volume.t option
val scale_initial_level_size : t -> Volume.t option
val trailing_percent : t -> float option
val trailing_stop_price : t -> Price.t option
val reference_price_type : t -> Raw_order.Reference_price_type.t option
val continuous_update : t -> bool
val delta_neutral_aux_price : t -> Price.t option
val delta_neutral_order_type : t -> Order_type.t option
val volatility_type : t -> Raw_order.Volatility_type.t option
val volatility : t -> float option
val override_percentage_constraints : t -> bool
val upper_stock_price_range : t -> Price.t option
val lower_stock_price_range : t -> Price.t option
val delta : t -> float option
val stock_reference_price : t -> Price.t option
val starting_price : t -> Price.t option
val auction_strategy : t -> Raw_order.Auction_strategy.t option
val nbbo_price_cap : t -> float option
val firm_quote_only : t -> bool
val electronic_trade_only : t -> bool
val percent_offset : t -> float option
val minimum_quantity : t -> Volume.t option
val all_or_none : t -> bool
val settling_firm : t -> string option
val rule80A : t -> Raw_order.Rule80A.t option
val oca_type : t -> Raw_order.Oca_type.t option
val exemption_code : t -> int
val designated_location : t -> string option
val short_sale_slot : t -> int option
val financial_advisor_profile : t -> string option
val financial_advisor_percentage : t -> string option
val financial_advisor_method : t -> string option
val financial_advisor_group : t -> string option
val good_till_date_time : t -> Core.Std.Time.t option
val good_after_date_time : t -> Core.Std.Time.t option
val discretionary_amount : t -> float option
val shares_allocation : t -> string
val hidden : t -> bool
val outside_regular_trading_hours : t -> bool
val stop_trigger_method : t -> Raw_order.Stop_trigger_method.t
val display_size : t -> Volume.t option
val sweep_to_fill : t -> bool
val block_order : t -> bool
val parent_id : t -> Order_id.t option
val transmit : t -> bool
val order_ref : t -> string option
val origin : t -> Raw_order.Origin.t
val open_close : t -> Raw_order.Open_close.t
val account_code : t -> Account_code.t
val oca_group_name : t -> string option
val time_in_force : t -> Raw_order.Time_in_force.t option
val stop_price : t -> Price.t option
val limit_price : t -> Price.t option
val order_kind : t -> string
val quantity : t -> Volume.t
val action : t -> string
val sec_id : t -> Security_id.Id.t option
val sec_id_type : t -> Security_id.Type.t option
val local_symbol : t -> Symbol.t option
val currency : t -> Currency.t
val listing_exchange : t -> Exchange.t option
val exchange : t -> Exchange.t
val multiplier : t -> int option
val option_right : t -> Option_right.t option
val strike : t -> Price.t option
val expiry : t -> Core.Std.Date.t option
val sec_type : t -> string
val symbol : t -> Symbol.t
val con_id : t -> Contract_id.t option
module Fields: sig
.. end
val __t_of_sexp__ : Sexplib.Sexp.t -> t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val create : contract:[< Security_type.t ] Contract.t ->
order:([< Order_action.t ], [< Order_type.t ]) Order.t ->
account_code:Account_code.t -> t
val (=) : t -> t -> bool
val pickler : t Tws_prot.Pickler.t
val unpickler : t Tws_prot.Unpickler.t Core.Std.Only_in_test.t