def time_series(self, **defaults):
        """
        Creates factory for time series requests.

        :returns: request factory instance
        :rtype: TimeSeries
        """
        ctx = Context.from_context(self.ctx)
        ctx.defaults.update(defaults)
        return TimeSeries(ctx)

        Creates factory for time series requests.

        :returns: request factory instance
        :rtype: TimeSeries
        
src/twelvedata/client.py