docs: def create(**kwargs):
          """
          Create and a return a specialized contract based on the given secType,
          or a general Contract if secType is not given.
          """
          secType = kwargs.get('secType', '')
          cls = {
              '': Contract,
              'STK': Stock,
              'OPT': Option,
              'FUT': Future,
              'CONTFUT': ContFuture,
              'CASH': Forex,
              'IND': Index,
              'CFD': CFD,
              'BOND': Bond,
              'CMDTY': Commodity,
              'FOP': FuturesOption,
              'FUND': MutualFund,
              'WAR': Warrant,
              'IOPT': Warrant,
              'BAG': Bag,
              'NEWS': Contract
          }.get(secType, Contract)
          if cls is not Contract:
              kwargs.pop('secType', '')
          return cls(**kwargs)