nodes: 0, module; 1, function_definition; 2, function_name:trade_history; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, default_parameter; 12, default_parameter; 13, default_parameter; 14, expression_statement; 15, return_statement; 16, identifier:from_; 17, None; 18, identifier:count; 19, None; 20, identifier:from_id; 21, None; 22, identifier:end_id; 23, None; 24, identifier:order; 25, None; 26, identifier:since; 27, None; 28, identifier:end; 29, None; 30, identifier:pair; 31, None; 32, comment:"""
          Returns trade history.
          To use this method you need a privilege of the info key.
  
          :param int or None from_: trade ID, from which the display starts (default 0)
          :param int or None count: the number of trades for display	(default 1000)
          :param int or None from_id: trade ID, from which the display starts	(default 0)
          :param int or None end_id: trade ID on which the display ends (default inf.)
          :param str or None order: sorting (default 'DESC')
          :param int or None since: the time to start the display (default 0)
          :param int or None end: the time to end the display	(default inf.)
          :param str or None pair: pair to be displayed (ex. 'btc_usd')
          """; 33, call; 34, attribute; 35, argument_list; 36, identifier:self; 37, identifier:_trade_api_call; 38, string; 39, keyword_argument; 40, keyword_argument; 41, keyword_argument; 42, keyword_argument; 43, keyword_argument; 44, keyword_argument; 45, keyword_argument; 46, keyword_argument; 47, string_content:TradeHistory; 48, identifier:from_; 49, identifier:from_; 50, identifier:count; 51, identifier:count; 52, identifier:from_id; 53, identifier:from_id; 54, identifier:end_id; 55, identifier:end_id; 56, identifier:order; 57, identifier:order; 58, identifier:since; 59, identifier:since; 60, identifier:end; 61, identifier:end; 62, identifier:pair; 63, identifier:pair
code: def trade_history(
          self, from_=None, count=None, from_id=None, end_id=None,
          order=None, since=None, end=None, pair=None
      ):
          """
          Returns trade history.
          To use this method you need a privilege of the info key.
  
          :param int or None from_: trade ID, from which the display starts (default 0)
          :param int or None count: the number of trades for display	(default 1000)
          :param int or None from_id: trade ID, from which the display starts	(default 0)
          :param int or None end_id: trade ID on which the display ends (default inf.)
          :param str or None order: sorting (default 'DESC')
          :param int or None since: the time to start the display (default 0)
          :param int or None end: the time to end the display	(default inf.)
          :param str or None pair: pair to be displayed (ex. 'btc_usd')
          """
          return self._trade_api_call(
              'TradeHistory', from_=from_, count=count, from_id=from_id, end_id=end_id,
              order=order, since=since, end=end, pair=pair
          )