We show that certain desired behavioural properties of agent-based models can be deterministically induced by an appropriate mathematical structure. We also point out problems related to the handling of parameters, and of the modelling of time, in agent-based models. Our purpose is to illustrate some problems of agent-based social simulations in markets, as a first step towards the more ambitious goal of providing a methodology for such simulations.