Several articles* have been published using the Artificial Stock Market model. The model simulates prices & trade levels in a market made up of "artificial adaptive agents." This is a prototype example of a "complex system" and is thought to illustrate the benefits of simulation modeling.
This page is dedicated to the revision/updating/enhancement of the Swarm version of the ASM. The first objective was to bring the ASM code--as released in April, 2000, with the version label 2.0--up to date and into conformance with Swarm programming style and recommendations for Swarm 2.1. That was achieved with ASM-2.2, which represents a substantially reworked and enhanced version of the model. Actually, ASM-2.2 went a bit further than that, because it (optionally) uses some hdf5 data storage features that were supported only in Swarm after 2.1.1 (prerelease snapshots of Swarm-2.2). The next step, ASM-2.4, includes the addition of a number of new features, including serialization (ability to stop and restart a model). ASM-2.4 now performs, as far as Thomas Badegruber and I can tell, in a way that replicates the original Santa Fe Stock Market. See the Swarm community links page for release info.
In case you wonder what a Swarm program looks like while it runs, I have a directory of screenshots!, such as screenshots/asm-20000530.gif . The newest version, ASM-2.4, looks like this: screenshots/asm-20030606.png on my RedHat Linux system.
To see news about the project, click on this news link. Its ugly, but it works.
Sourceforge used to have a cvs browser, but its gone now. So, to look at the code, you'll have to download something.
If you want to be a developer on this project, you need to register personally with SourceForge and then contact me and I'll add you in this account.
You don't have to register to checkout the code anonymously and look it over. Go read the SourceForge doc on how to use CVS at http://sfdocs.sourceforge.net/sfdocs/display_topic.php?topicid=14
If you can't take the 2 minutes for that, get into an X-term and type this
cvs -d:pserver:email@example.com:/cvsroot/artstkmkt login
cvs -d:pserver:firstname.lastname@example.org:/cvsroot/artstkmkt checkout ASM
It should create a directory ASM with the files in it.
Please note that, when this archive was first created, the Sourceforge folks let me use the name ArtStkMkt for both http and the group/cvs name. Sometime in early 2001, the name for cvs got changed to atstkmkt and so some cvs updates won't work they way you might like.
Today I checked out a fresh copy from cvs with my developer account and this was the appropriate command:
cvs -d:ext:email@example.com:/cvsroot/artstkmkt checkout ASM
If you want the whole archive, not just the Swarm ASM, replace ASM with a period, as in
cvs -d:ext:firstname.lastname@example.org:/cvsroot/artstkmkt checkout .
After that, you will see these directories
ASM ASM-objc CVS CVSROOT SASM sfsm
ASM-objc and sfsm are the golden oldies, and SASM is a branch on which we were fiddling around with Social agents who copy each other's investment habits.
If you don't have cvs, what a shame! I'm putting snapshots of the code here in the updates directory. If you look in there, you should see dated snapshots of the ASM code (the first was ASM-20000507.tar.gz) along with the patch that you can apply to the previous version to create that snapshot.
There is only one vital requirement for participating here. You have to be willing to document
the changes you propose to make in the code base. I hope that, someday, we might have something
to show for this work, and it will be useful only if we keep tabs on what is changed and what is not.
I'm starting a Changelog file in the source directory and hope people will use it. In
Palmer, R.G, W. Brian Arthur, John H. Holland, Blake LeBaron, and Paul Taylor. 1994. Artificial economic life: a simple model of a stockmarket. Physica D 75: 264-274.
Arthur, W.B., J.H. Holland, B. LeBaron, R. Palmer, and P. Taylor. 1997. Asset pricing under endogenous expectations in an artificial stock market. In W.B. Arthur, S.N. Durlauf, and D.A. Lane (eds) The Economy as an Evolving Complex System II Reading, MA: Addison-Wesley, pp. 15-44.
B. LeBaron, W.B. Arthur, and R. Palmer. 1999. The time series properties of an artificial stock market, Journal of Economic Dynamics and Control, 23: 1487-1516.
Johnson, Paul E. 2002. Agent-Based Modeling: What I learned from the Artificial Stock Market. Social Science Computer Review, 20: 174-186.