AgEx: A Financial Market Simulation Tool for Software Agents

  • Paulo André L. De Castro
  • Jaime S. Sichman
Part of the Lecture Notes in Business Information Processing book series (LNBIP, volume 24)


Many researchers in the software agent field use the financial domain as a test bed to develop adaptation, cooperation and learning skills of software agents. However, there are no open source financial market simulation tools available, that are able to provide a suitable environment for agents with real information about assets and order execution service. In order to address such demand, this paper proposes an open source financial market simulation tool, called AgEx. This tool allows traders launched from distinct computers to act in the same market. The communication among agents is performed through FIPA ACL and uses a market ontology created specifically to be used for trader agents. We implemented several traders using AgEx and performed many simulations using data from real markets. The achieved results allowed to test and assess comparatively trader’s performance against each other in terms of risk and return. We verified that the effort to implement and test trader agents was significantly diminished by the use of AgEx. Furthermore, such results indicated new directions in trader strategy design.


Autonomous agents Software agents Autonomous asset management 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Kendall, G., Su, Y.: Co-evolution of successful trading strategies in a simulated stock market. In: Proceedings of ICMLA 2003, Los Angeles, pp. 200–206 (2003)Google Scholar
  2. 2.
    Sherstov, A., Stone, P.: Three automated stock-trading agents: A comparative study. In: Proceedings of AMEC Workshop - AAMAS 2004, New York (2004)Google Scholar
  3. 3.
    Nevmyvaka, Y.F.Y., Kearns, M.: Reinforcement learning for optimized trade execution. In: Proceedings of the 23rd International Conference on Machine Learning- ICML 2006, Pittsburgh, Pennsylvania (2006)Google Scholar
  4. 4.
    Decker, K., Pannu, A., Sycara, K., Williamson, M.: Designing behaviors for information agents. In: Johnson, W.L., Hayes-Roth, B. (eds.) Proceedings of Agents 1997, pp. 404–412. ACM Press, New York (1997)CrossRefGoogle Scholar
  5. 5.
    Luo, K.L.Y., Davis, D.N.: A multi-agent decision support system for stock trading. IEEE Network 16(1), 20–27 (2002)CrossRefGoogle Scholar
  6. 6.
    Castro, P.A., Sichman, J.S.: Towards cooperation among competitive trader agents. In: Proceedings of 9th ICEIS. Software Agents and Internet Computing track, Funchal, Madeira - Portugal, pp. 138–143 (2007)Google Scholar
  7. 7.
    Feng, X., Jo, C.H.: Agent-based stock trading. In: Proc. of the ISCA CATA 2003, Honolulu, Hawaii (2003)Google Scholar
  8. 8.
    Kearns, M., Ortiz, L.: The penn-lehman automated trading project. IEEE Intelligent System 18(6), 22–31, 11-12 (2003)CrossRefGoogle Scholar
  9. 9.
    Kendall, G., Su, Y.: A particle swarm optimisation approach in the construction of optimal risky portfolios. In: Proc. of the 23rd IASTED. Innsbruck, Austria, pp. 140–145 (2005)Google Scholar
  10. 10.
    Feng, R.Y.Y., Stone, P.: Two stock-trading agents: Market making and technical analysis. In: Proceedings of the Agent Mediated Electronic Commerce (AMEC) Workshop - AAMAS 2003, Melbourne, Australia (2003)Google Scholar
  11. 11.
    Markowitz, H.M.: Portfolio selection. Journal of Finance 7(1), 77–91 (1952)CrossRefGoogle Scholar
  12. 12.
    FIPA. The Foundation for Intelligent Physical Agents,
  13. 13.
    Bellifemine, F.L., Caire, G., Greendwood, D.: Developing Multi-Agent Systems with JADE. In: Wiley (ed.). Wiley Series in Agent Technology (April 2007)Google Scholar
  14. 14.
    Wurman, P.R., Wellman, M.P., e Walsh, W.E.: The Michigan Internet AuctionBot: A configurable auction server for human and software agent. In: AGENTS, Minneapolis/St. Paul, MN, pp. 301–308 (1998)Google Scholar
  15. 15.
    Sandholm, T.: eMediator: A Next Generation Electronic Commerce Server. In: International Conference on Autonomous Agents (AGENTS), Barcelona (June 2000)Google Scholar
  16. 16.
    LeBaron, B.: Building the Santa Fe Artificial Stock Market. Working Paper. Brandeis Univ. (2002)Google Scholar
  17. 17.
    Phelps, S.: Evolutionary Mechanism Design. Phd Thesis. Univ. of Liverpool (2007)Google Scholar
  18. 18.
    Market Screen Investment Tools website,

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • Paulo André L. De Castro
    • 1
    • 2
  • Jaime S. Sichman
    • 2
  1. 1.Technological Institute of Aeronautics1São PauloBrazil
  2. 2.Intelligent Techniques LaboratoryUniversity of São Paulo2São PauloBrazil

Personalised recommendations