new_contents: XTP_VERSION_LEN = 16
  XTP_TRADING_DAY_LEN = 9
  XTP_TICKER_LEN = 16
  XTP_TICKER_NAME_LEN = 64
  XTP_LOCAL_ORDER_LEN = 11
  XTP_ORDER_EXCH_LEN = 17
  XTP_EXEC_ID_LEN = 18
  XTP_BRANCH_PBU_LEN = 7
  XTP_ACCOUNT_NAME_LEN = 16
  XTP_CREDIT_DEBT_ID_LEN = 33
  XTP_SIDE_BUY = 1
  XTP_SIDE_SELL = 2
  XTP_SIDE_PURCHASE = 7
  XTP_SIDE_REDEMPTION = 8
  XTP_SIDE_SPLIT = 9
  XTP_SIDE_MERGE = 10
  XTP_SIDE_COVER = 11
  XTP_SIDE_FREEZE = 12
  XTP_SIDE_MARGIN_TRADE = 21
  XTP_SIDE_SHORT_SELL = 22
  XTP_SIDE_REPAY_MARGIN = 23
  XTP_SIDE_REPAY_STOCK = 24
  XTP_SIDE_STOCK_REPAY_STOCK = 26
  XTP_SIDE_SURSTK_TRANS = 27
  XTP_SIDE_GRTSTK_TRANSIN = 28
  XTP_SIDE_GRTSTK_TRANSOUT = 29
  XTP_SIDE_UNKNOWN = 30
  XTP_POSITION_EFFECT_INIT = 0
  XTP_POSITION_EFFECT_OPEN = 1
  XTP_POSITION_EFFECT_CLOSE = 2
  XTP_POSITION_EFFECT_FORCECLOSE = 3
  XTP_POSITION_EFFECT_CLOSETODAY = 4
  XTP_POSITION_EFFECT_CLOSEYESTERDAY = 5
  XTP_POSITION_EFFECT_FORCEOFF = 6
  XTP_POSITION_EFFECT_LOCALFORCECLOSE = 7
  XTP_POSITION_EFFECT_CREDIT_FORCE_COVER = 8
  XTP_POSITION_EFFECT_CREDIT_FORCE_CLEAR = 9
  XTP_POSITION_EFFECT_CREDIT_FORCE_DEBT = 10
  XTP_POSITION_EFFECT_CREDIT_FORCE_UNCOND = 11
  XTP_POSITION_EFFECT_UNKNOWN = 12
  XTP_TRDT_COMMON = '0'
  XTP_TRDT_CASH = '1'
  XTP_TRDT_PRIMARY = '2'
  XTP_TRDT_CROSS_MKT_CASH = '3'
  XTP_ORDT_Normal = '0'
  XTP_ORDT_DeriveFromQuote = '1'
  XTP_ORDT_DeriveFromCombination = '2'
  XTP_ORDT_Combination = '3'
  XTP_ORDT_ConditionalOrder = '4'
  XTP_ORDT_Swap = '5'
  
subject: Create xtp_constant.py