RunGuide

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 3. about 4 years by jtbriggs
  2. 2. about 4 years by Maciej Latek
  3. 1. about 4 years by Maciej Latek
 

Guide to installing and running FinancialModel

  There are two ways to get the project. The simpler way is:

  1. Download FinancialMarket.jar and setups.zip.setups.zip from the Files tab of this site.
  2. Unpack setups.zip and place the setups folder next to the jar file.

Alternatively, if you want to be able to revise or extend the models you can:

  1. Check them out using Subversion from http://svn2.assembla.com/svn/MarketModel
  2. Build them in Eclipse for Java.

Subversion and Eclipse are fully documented on the web.

 

Next, you need to configure some files to set the parameters to the models.

  • In setups folder, you should see following files:
    1. main.properties: a configuration file describing what simulation you will run. In particular, by changing values of orderbookClass and agentConfiguration parameters, you can choose the type of orderbook and secondparameters configurationfor filethe containingmodels. sizeExample andmain.properties compositionfiles of(ie, agentmain_cont.properties) population;are included for reference, but it is 'main.properties' that counts. Not all order books work with all agents.
    2. *.txt: thosethese files contain data on composition of population of players.players and are included via the 'agentConfiguration' option in main.properties. Entries should be formatted as playerClass,numOfInstances with single line per playerClass. You can have as many lines (or different types of agents) in you simulation as required.

 

Finally, you're ready to run the model.

  • Afterwards,If you downloaded the jar file, doubleclick the jar file (or use java -Xmx1024M -jar FinancialModel.jar command) to start the simulation.
  • If you're using eclipse, go to src/gui and run FinancialModelWithUI.java as a Java Application.

All Mason simulations have common interface. You can refer to following slides for explanation of control window that should appear.