code: def trade_sell(self, market=None, order_type=None, quantity=None, rate=None, time_in_effect=None,
                     condition_type=None, target=0.0):
          
          return self._api_query(path_dict={
              API_V2_0: '/key/market/tradesell'
          }, options={
              'marketname': market,
              'ordertype': order_type,
              'quantity': quantity,
              'rate': rate,
              'timeInEffect': time_in_effect,
              'conditiontype': condition_type,
              'target': target
          }, protection=PROTECTION_PRV)
docs: Enter a sell order into the book
          Endpoint
          1.1 NO EQUIVALENT -- see sell_market or sell_limit
          2.0 /key/market/tradesell
  
          :param market: String literal for the market (ex: BTC-LTC)
          :type market: str
          :param order_type: ORDERTYPE_LIMIT = 'LIMIT' or ORDERTYPE_MARKET = 'MARKET'
          :type order_type: str
          :param quantity: The amount to purchase
          :type quantity: float
          :param rate: The rate at which to place the order.
              This is not needed for market orders
          :type rate: float
          :param time_in_effect: TIMEINEFFECT_GOOD_TIL_CANCELLED = 'GOOD_TIL_CANCELLED',
                  TIMEINEFFECT_IMMEDIATE_OR_CANCEL = 'IMMEDIATE_OR_CANCEL', or TIMEINEFFECT_FILL_OR_KILL = 'FILL_OR_KILL'
          :type time_in_effect: str
          :param condition_type: CONDITIONTYPE_NONE = 'NONE', CONDITIONTYPE_GREATER_THAN = 'GREATER_THAN',
                  CONDITIONTYPE_LESS_THAN = 'LESS_THAN', CONDITIONTYPE_STOP_LOSS_FIXED = 'STOP_LOSS_FIXED',
                  CONDITIONTYPE_STOP_LOSS_PERCENTAGE = 'STOP_LOSS_PERCENTAGE'
          :type condition_type: str
          :param target: used in conjunction with condition_type
          :type target: float
          :return: