parameters: (full_symbol: str)
return_statement: return symbol, ex
docstring: :return: (symbol, exchange)
docstring_summary: :return: (symbol, exchange)
docstring_tokens: : return : ( symbol exchange )
function: def extract_full_symbol(full_symbol: str):
      """
      :return: (symbol, exchange)
      """
      tmp = full_symbol.split(' ')
      if len(tmp) < 4:
          return "unknwonsymbol", Exchange.SHFE
      symbol = tmp[2] + tmp[3]
      exchange_str = tmp[0]
      ex = Exchange(exchange_str)
      if ex in [Exchange.SHFE, Exchange.DCE, Exchange.INE]:
          symbol = symbol.lower()
      return symbol, ex
function_tokens: def extract_full_symbol ( full_symbol : str ) : tmp = full_symbol . split ( ' ' ) if len ( tmp ) < 4 : return "unknwonsymbol" , Exchange . SHFE symbol = tmp [ 2 ] + tmp [ 3 ] exchange_str = tmp [ 0 ] ex = Exchange ( exchange_str ) if ex in [ Exchange . SHFE , Exchange . DCE , Exchange . INE ] : symbol = symbol . lower ( ) return symbol , ex