def price(self, **defaults):
        """
        Creates factory for exchange rate requests.

        :returns: request factory instance
        :rtype: Price
        """
        ctx = Context.from_context(self.ctx)
        ctx.defaults.update(defaults)
        return PriceEndpoint(ctx, **ctx.defaults)

        Creates factory for exchange rate requests.

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