def take_profit_replace(self, accountID, orderID, **kwargs):
        """
        Shortcut to replace a pending Take Profit Order in an Account

        Args:
            accountID : The ID of the Account
            orderID : The ID of the Take Profit Order to replace
            kwargs : The arguments to create a TakeProfitOrderRequest

        Returns:
            v20.response.Response containing the results from submitting
            the request
        """
        return self.replace(
            accountID,
            orderID,
            order=TakeProfitOrderRequest(**kwargs)
        )
def take_profit_replace ( self , accountID , orderID , ** kwargs ) : return self . replace ( accountID , orderID , order = TakeProfitOrderRequest ( ** kwargs ) )
Shortcut to replace a pending Take Profit Order in an Account

        Args:
            accountID : The ID of the Account
            orderID : The ID of the Take Profit Order to replace
            kwargs : The arguments to create a TakeProfitOrderRequest

        Returns:
            v20.response.Response containing the results from submitting
            the request