Domestic markets ended lower after a four-session winning streak on Tuesday. Profit booking and weakness in Realty and Metals stocks impacted market sentiment. Foreign portfolio investors bought shares, while domestic institutional investors sold them.