In this paper we propose an artificial market where multiple risky assets are exchanged. Agents are constrained by the availability of resources and trade to adjust their portfolio according to an exogenously given target portfolio. We model the trading mechanism as a continuous auction order-driven market. Agents are heterogeneous in terms of desired target portfolio allocations, but they are homogeneous in terms of trading strategies. We investigate the role played by the trading mechanism in affecting the dynamics of prices, trading volume and volatility. We show that the institutional setting of a double auction market is sufficient to generate a non-normal distribution of price changes and temporal patterns that resemble those observed in real markets. Moreover, we highlight the role played by the interaction between individual wealth constraints and the market frictions associated with a double auction system to determine the negative asymmetry of the stock returns distribution.
In this paper we deal with the problem of finding the first K shortest paths from a single origin node to all other nodes of a directed graph. In particular, we define the necessary and sufficient conditions for a set of distance label vectors, on the basis of which we propose a class of methods which can be viewed as an extension of the generic label-correcting method for solving the classical single-origin all-destinations shortest path problem. The data structure used is characterized by a set of K lists of candidate nodes, and the proposed methods differ in the strategy used to select the node to be extracted at each iteration. The computational results show that: 1. some label-correcting methods are generally much faster then the double sweep method of Shier (1979); 2. the most efficient node selection strategies, used for solving the classical single-origin all-destinations shortest path problem, have proved to be effective also in the case of the K shortest paths