Skip to content

gph03n1x/allpayauction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All Pay Auction

University project for the algorithmic trading class. I was tasked with creating a simple version of an All pay second price auction. This auction is implemented over an Iterative Best Response where each bidder looks at each others bids and decides his own best choice for the next turn.

Requirements

pip install -r requirements.txt

Help

Simply running the following command in the terminal presents the help menu:

python algtrd.py -h

Examples

You can simply run the example experiment in example.json by using the following command:

python algtrd.py -d example.json

Or you can run every experiment in the experiments folder by using the following command:

python algtrd.py -d experiments

You are going to notice two new directories showing up images/ and results/ .

Results has a json with the average price ("effort") history during each iteration and the results of the auction ("final_bids").

Inside the images there are the graphs indicating the average effort over each iteration.

About

All pay auction simulation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages