def get_commitments_of_traders(self, **params):
        endpoint = 'labs/v1/commitments_of_traders'
        return self.request(endpoint, params=params)
Returns up to 4 years of Commitments of Traders data from the CFTC
dataset/ETHPy150Open jamesmawm/Mastering-Python-for-Finance-source-codes/B03898_08_codes/oandapy.py/EndpointsMixin.get_commitments_of_traders