
module IB.Client.Nums where

no_valid_id = -1 :: Int
no_valid_error_code = 0 :: Int

client_version = 63 :: Int
server_version = 38 :: Int

min_server_ver_pta_orders             = 39      :: Int
min_server_ver_fundamental_data       = 40      :: Int
min_server_ver_under_comp             = 40      :: Int
min_server_ver_contract_data_chain    = 40      :: Int
min_server_ver_scale_orders2          = 40      :: Int
min_server_ver_algo_orders            = 41      :: Int
min_server_ver_execution_data_chain   = 42      :: Int
min_server_ver_not_held               = 44      :: Int
min_server_ver_sec_id_type            = 45      :: Int
min_server_ver_place_order_conid      = 46      :: Int
min_server_ver_req_mkt_data_conid     = 47      :: Int
min_server_ver_req_calc_implied_volat = 49      :: Int
min_server_ver_req_calc_option_price     = 50   :: Int
min_server_ver_cancel_calc_implied_volat = 50   :: Int
min_server_ver_cancel_calc_option_price  = 50   :: Int
min_server_ver_sshortx_old               = 51   :: Int
min_server_ver_sshortx                = 52      :: Int
min_server_ver_req_global_cancel      = 53      :: Int
min_server_ver_hedge_orders			  = 54      :: Int
min_server_ver_req_market_data_type	  = 55      :: Int
min_server_ver_opt_out_smart_routing  = 56      :: Int
min_server_ver_smart_combo_routing_params = 57  :: Int
min_server_ver_delta_neutral_conid    = 58      :: Int
min_server_ver_scale_orders3          = 60      :: Int
min_server_ver_order_combo_legs_price = 61      :: Int
min_server_ver_trailing_percent       = 62      :: Int
min_server_ver_delta_neutral_open_close = 66    :: Int
min_server_ver_positions              = 67      :: Int
min_server_ver_account_summary        = 67      :: Int
min_server_ver_trading_class          = 68      :: Int
min_server_ver_scale_table            = 69      :: Int
min_server_ver_linking            = 70          :: Int

