/**
 * Known server version gates. Each constant represents the minimum server
 * version required to support a particular feature.
 * Mirrors: ibapi/server_versions.py
 */

export const MIN_SERVER_VER_PTA_ORDERS = 39
export const MIN_SERVER_VER_FUNDAMENTAL_DATA = 40
export const MIN_SERVER_VER_DELTA_NEUTRAL = 40
export const MIN_SERVER_VER_CONTRACT_DATA_CHAIN = 40
export const MIN_SERVER_VER_SCALE_ORDERS2 = 40
export const MIN_SERVER_VER_ALGO_ORDERS = 41
export const MIN_SERVER_VER_EXECUTION_DATA_CHAIN = 42
export const MIN_SERVER_VER_NOT_HELD = 44
export const MIN_SERVER_VER_SEC_ID_TYPE = 45
export const MIN_SERVER_VER_PLACE_ORDER_CONID = 46
export const MIN_SERVER_VER_REQ_MKT_DATA_CONID = 47
export const MIN_SERVER_VER_REQ_CALC_IMPLIED_VOLAT = 49
export const MIN_SERVER_VER_REQ_CALC_OPTION_PRICE = 50
export const MIN_SERVER_VER_SSHORTX_OLD = 51
export const MIN_SERVER_VER_SSHORTX = 52
export const MIN_SERVER_VER_REQ_GLOBAL_CANCEL = 53
export const MIN_SERVER_VER_HEDGE_ORDERS = 54
export const MIN_SERVER_VER_REQ_MARKET_DATA_TYPE = 55
export const MIN_SERVER_VER_OPT_OUT_SMART_ROUTING = 56
export const MIN_SERVER_VER_SMART_COMBO_ROUTING_PARAMS = 57
export const MIN_SERVER_VER_DELTA_NEUTRAL_CONID = 58
export const MIN_SERVER_VER_SCALE_ORDERS3 = 60
export const MIN_SERVER_VER_ORDER_COMBO_LEGS_PRICE = 61
export const MIN_SERVER_VER_TRAILING_PERCENT = 62
export const MIN_SERVER_VER_DELTA_NEUTRAL_OPEN_CLOSE = 66
export const MIN_SERVER_VER_POSITIONS = 67
export const MIN_SERVER_VER_ACCOUNT_SUMMARY = 67
export const MIN_SERVER_VER_TRADING_CLASS = 68
export const MIN_SERVER_VER_SCALE_TABLE = 69
export const MIN_SERVER_VER_LINKING = 70
export const MIN_SERVER_VER_ALGO_ID = 71
export const MIN_SERVER_VER_OPTIONAL_CAPABILITIES = 72
export const MIN_SERVER_VER_ORDER_SOLICITED = 73
export const MIN_SERVER_VER_LINKING_AUTH = 74
export const MIN_SERVER_VER_PRIMARYEXCH = 75
export const MIN_SERVER_VER_RANDOMIZE_SIZE_AND_PRICE = 76
export const MIN_SERVER_VER_FRACTIONAL_POSITIONS = 101
export const MIN_SERVER_VER_PEGGED_TO_BENCHMARK = 102
export const MIN_SERVER_VER_MODELS_SUPPORT = 103
export const MIN_SERVER_VER_SEC_DEF_OPT_PARAMS_REQ = 104
export const MIN_SERVER_VER_EXT_OPERATOR = 105
export const MIN_SERVER_VER_SOFT_DOLLAR_TIER = 106
export const MIN_SERVER_VER_REQ_FAMILY_CODES = 107
export const MIN_SERVER_VER_REQ_MATCHING_SYMBOLS = 108
export const MIN_SERVER_VER_PAST_LIMIT = 109
export const MIN_SERVER_VER_MD_SIZE_MULTIPLIER = 110
export const MIN_SERVER_VER_CASH_QTY = 111
export const MIN_SERVER_VER_REQ_MKT_DEPTH_EXCHANGES = 112
export const MIN_SERVER_VER_TICK_NEWS = 113
export const MIN_SERVER_VER_REQ_SMART_COMPONENTS = 114
export const MIN_SERVER_VER_REQ_NEWS_PROVIDERS = 115
export const MIN_SERVER_VER_REQ_NEWS_ARTICLE = 116
export const MIN_SERVER_VER_REQ_HISTORICAL_NEWS = 117
export const MIN_SERVER_VER_REQ_HEAD_TIMESTAMP = 118
export const MIN_SERVER_VER_REQ_HISTOGRAM = 119
export const MIN_SERVER_VER_SERVICE_DATA_TYPE = 120
export const MIN_SERVER_VER_AGG_GROUP = 121
export const MIN_SERVER_VER_UNDERLYING_INFO = 122
export const MIN_SERVER_VER_CANCEL_HEADTIMESTAMP = 123
export const MIN_SERVER_VER_SYNT_REALTIME_BARS = 124
export const MIN_SERVER_VER_CFD_REROUTE = 125
export const MIN_SERVER_VER_MARKET_RULES = 126
export const MIN_SERVER_VER_PNL = 127
export const MIN_SERVER_VER_NEWS_QUERY_ORIGINS = 128
export const MIN_SERVER_VER_UNREALIZED_PNL = 129
export const MIN_SERVER_VER_HISTORICAL_TICKS = 130
export const MIN_SERVER_VER_MARKET_CAP_PRICE = 131
export const MIN_SERVER_VER_PRE_OPEN_BID_ASK = 132
export const MIN_SERVER_VER_REAL_EXPIRATION_DATE = 134
export const MIN_SERVER_VER_REALIZED_PNL = 135
export const MIN_SERVER_VER_LAST_LIQUIDITY = 136
export const MIN_SERVER_VER_TICK_BY_TICK = 137
export const MIN_SERVER_VER_DECISION_MAKER = 138
export const MIN_SERVER_VER_MIFID_EXECUTION = 139
export const MIN_SERVER_VER_TICK_BY_TICK_IGNORE_SIZE = 140
export const MIN_SERVER_VER_AUTO_PRICE_FOR_HEDGE = 141
export const MIN_SERVER_VER_WHAT_IF_EXT_FIELDS = 142
export const MIN_SERVER_VER_SCANNER_GENERIC_OPTS = 143
export const MIN_SERVER_VER_API_BIND_ORDER = 144
export const MIN_SERVER_VER_ORDER_CONTAINER = 145
export const MIN_SERVER_VER_SMART_DEPTH = 146
export const MIN_SERVER_VER_REMOVE_NULL_ALL_CASTING = 147
export const MIN_SERVER_VER_D_PEG_ORDERS = 148
export const MIN_SERVER_VER_MKT_DEPTH_PRIM_EXCHANGE = 149
export const MIN_SERVER_VER_COMPLETED_ORDERS = 150
export const MIN_SERVER_VER_PRICE_MGMT_ALGO = 151
export const MIN_SERVER_VER_STOCK_TYPE = 152
export const MIN_SERVER_VER_ENCODE_MSG_ASCII7 = 153
export const MIN_SERVER_VER_SEND_ALL_FAMILY_CODES = 154
export const MIN_SERVER_VER_NO_DEFAULT_OPEN_CLOSE = 155
export const MIN_SERVER_VER_PRICE_BASED_VOLATILITY = 156
export const MIN_SERVER_VER_REPLACE_FA_END = 157
export const MIN_SERVER_VER_DURATION = 158
export const MIN_SERVER_VER_MARKET_DATA_IN_SHARES = 159
export const MIN_SERVER_VER_POST_TO_ATS = 160
export const MIN_SERVER_VER_WSHE_CALENDAR = 161
export const MIN_SERVER_VER_AUTO_CANCEL_PARENT = 162
export const MIN_SERVER_VER_FRACTIONAL_SIZE_SUPPORT = 163
export const MIN_SERVER_VER_SIZE_RULES = 164
export const MIN_SERVER_VER_HISTORICAL_SCHEDULE = 165
export const MIN_SERVER_VER_ADVANCED_ORDER_REJECT = 166
export const MIN_SERVER_VER_USER_INFO = 167
export const MIN_SERVER_VER_CRYPTO_AGGREGATED_TRADES = 168
export const MIN_SERVER_VER_MANUAL_ORDER_TIME = 169
export const MIN_SERVER_VER_PEGBEST_PEGMID_OFFSETS = 170
export const MIN_SERVER_VER_WSH_EVENT_DATA_FILTERS = 171
export const MIN_SERVER_VER_IPO_PRICES = 172
export const MIN_SERVER_VER_WSH_EVENT_DATA_FILTERS_DATE = 173
export const MIN_SERVER_VER_INSTRUMENT_TIMEZONE = 174
export const MIN_SERVER_VER_HMDS_MARKET_DATA_IN_SHARES = 175
export const MIN_SERVER_VER_BOND_ISSUERID = 176
export const MIN_SERVER_VER_FA_PROFILE_DESUPPORT = 177
export const MIN_SERVER_VER_PENDING_PRICE_REVISION = 178
export const MIN_SERVER_VER_FUND_DATA_FIELDS = 179
export const MIN_SERVER_VER_MANUAL_ORDER_TIME_EXERCISE_OPTIONS = 180
export const MIN_SERVER_VER_OPEN_ORDER_AD_STRATEGY = 181
export const MIN_SERVER_VER_LAST_TRADE_DATE = 182
export const MIN_SERVER_VER_CUSTOMER_ACCOUNT = 183
export const MIN_SERVER_VER_PROFESSIONAL_CUSTOMER = 184
export const MIN_SERVER_VER_BOND_ACCRUED_INTEREST = 185
export const MIN_SERVER_VER_INELIGIBILITY_REASONS = 186
export const MIN_SERVER_VER_RFQ_FIELDS = 187
export const MIN_SERVER_VER_BOND_TRADING_HOURS = 188
export const MIN_SERVER_VER_INCLUDE_OVERNIGHT = 189
export const MIN_SERVER_VER_UNDO_RFQ_FIELDS = 190
export const MIN_SERVER_VER_PERM_ID_AS_LONG = 191
export const MIN_SERVER_VER_CME_TAGGING_FIELDS = 192
export const MIN_SERVER_VER_CME_TAGGING_FIELDS_IN_OPEN_ORDER = 193
export const MIN_SERVER_VER_ERROR_TIME = 194
export const MIN_SERVER_VER_FULL_ORDER_PREVIEW_FIELDS = 195
export const MIN_SERVER_VER_HISTORICAL_DATA_END = 196
export const MIN_SERVER_VER_CURRENT_TIME_IN_MILLIS = 197
export const MIN_SERVER_VER_SUBMITTER = 198
export const MIN_SERVER_VER_IMBALANCE_ONLY = 199
export const MIN_SERVER_VER_PARAMETRIZED_DAYS_OF_EXECUTIONS = 200
export const MIN_SERVER_VER_PROTOBUF = 201
export const MIN_SERVER_VER_ZERO_STRIKE = 202
export const MIN_SERVER_VER_PROTOBUF_PLACE_ORDER = 203
export const MIN_SERVER_VER_PROTOBUF_COMPLETED_ORDER = 204
export const MIN_SERVER_VER_PROTOBUF_CONTRACT_DATA = 205
export const MIN_SERVER_VER_PROTOBUF_MARKET_DATA = 206
export const MIN_SERVER_VER_PROTOBUF_ACCOUNTS_POSITIONS = 207
export const MIN_SERVER_VER_PROTOBUF_HISTORICAL_DATA = 208
export const MIN_SERVER_VER_PROTOBUF_NEWS_DATA = 209
export const MIN_SERVER_VER_PROTOBUF_SCAN_DATA = 210
export const MIN_SERVER_VER_PROTOBUF_REST_MESSAGES_1 = 211
export const MIN_SERVER_VER_PROTOBUF_REST_MESSAGES_2 = 212
export const MIN_SERVER_VER_PROTOBUF_REST_MESSAGES_3 = 213
export const MIN_SERVER_VER_ADD_Z_SUFFIX_TO_UTC_DATE_TIME = 214
export const MIN_SERVER_VER_CANCEL_CONTRACT_DATA = 215
export const MIN_SERVER_VER_ADDITIONAL_ORDER_PARAMS_1 = 216
export const MIN_SERVER_VER_ADDITIONAL_ORDER_PARAMS_2 = 217
export const MIN_SERVER_VER_ATTACHED_ORDERS = 218
export const MIN_SERVER_VER_CONFIG = 219
export const MIN_SERVER_VER_MARKET_DATA_VOLUMES_IN_SHARES = 220
export const MIN_SERVER_VER_UPDATE_CONFIG = 221
export const MIN_SERVER_VER_FRACTIONAL_LAST_SIZE = 222

// 100+ messaging: enhanced handshake, msg length prefixes
export const MIN_CLIENT_VER = 100
export const MAX_CLIENT_VER = MIN_SERVER_VER_FRACTIONAL_LAST_SIZE
