Hi Fernando,
I, just like you, should date this barrel to roughly the 18th century. As most noise makers were made of wrought iron I think Manolo may be right and it may have been originally part of a mortar fixed to a heavy base plate and designed to fire in a 45 degree angle or so.
Anyway, I like it very much!
Saludos,
Michael