cbexchange/private.py
def _new_report(self,
                  type,
                  start_date,
                  end_date,
                  product_id='BTC-USD',
                  account_id=None,
                  format=None,
                  email=None):
    """`<https://docs.exchange.coinbase.com/#create-a-new-report>`_"""
    data = {
      'type':type,
      'start_date':self._format_iso_time(start_date),
      'end_date':self._format_iso_time(end_date),
      'product_id':product_id,
      'account_id':account_id,
      'format':format,
      'email':email
    }
    return self._post('reports', data=data)
def _new_report(self,
                  type,
                  start_date,
                  end_date,
                  product_id='BTC-USD',
                  account_id=None,
                  format=None,
                  email=None):
    """`<https://docs.exchange.coinbase.com/#create-a-new-report>`_"""
    data = {
      'type':type,
      'start_date':self._format_iso_time(start_date),
      'end_date':self._format_iso_time(end_date),
      'product_id':product_id,
      'account_id':account_id,
      'format':format,
      'email':email
    }
    return self._post('reports', data=data)
def _new_report ( self , type , start_date , end_date , product_id = 'BTC-USD' , account_id = None , format = None , email = None ) : data = { 'type' : type , 'start_date' : self . _format_iso_time ( start_date ) , 'end_date' : self . _format_iso_time ( end_date ) , 'product_id' : product_id , 'account_id' : account_id , 'format' : format , 'email' : email } return self . _post ( 'reports' , data = data )
`<https://docs.exchange.coinbase.com/#create-a-new-report>`_
<https : // docs . exchange . coinbase . com / #create - a - new - report > _