Firmness prevailed in the grain market on Wednesday as most of the commodities maintained the overnight levels, dealers said. They attributed the stable trend in the market to the steady arrivals from the upcountry centres and better supply position.