<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_product_trades(self, product_id, before='', after='', limit=None, result=None):
 """List the latest trades for a product. This method returns a generator which may make multiple HTTP requests while iterating through it. Args: product_id (str):
 Product before (Optional[str]):
 start time in ISO 8601 after (Optional[str]):
 end time in ISO 8601 limit (Optional[int]):
 the desired number of trades (can be more than 100, automatically paginated) results (Optional[list]):
 list of results that is used for the pagination Returns: list: Latest trades. Example:: [{ "time": "2014-11-07T22:19:28.578544Z", "trade_id": 74, "price": "10.00000000", "size": "0.01000000", "side": "buy" }, { "time": "2014-11-07T01:08:43.642366Z", "trade_id": 73, "price": "100.00000000", "size": "0.01000000", "side": "sell" }] """

        return self._send_paginated_message('/products/{}/trades'
                                            .format(product_id))