This project was part of the Internet Economics & Financial Technology Masters module for Y4 TB1 MEng Computer Science, University of Bristol.
Link to the report.
All the simulations are performed by running PRDE.py.
- python3
- numpy, matplotlib for plotting
The following command line flags are being used to specify simulation details:
-
--experiment-type
indicates the experiment to execute, namely:- Balanced group tests, the default value,
--experiment-type bgr
- Homogenuous group tests,
--experiment-type hmg
- One-to-many tests,
--experiment-type otm
- Balanced group using JADE,
--experiment-type jade
- Balanced group tests, the default value,
-
--k-value
takes anint
for the parameterk
of DE -
--F-value
takes afloat
for the parameterF
of DE -
--n-days
takes afloat
that specifies the number of days that the simulation will run
An example on running balanced group tests with k=5
& F=0.9
for a one day market would be:
python PRDE.py --experiment-type bgr --k-value 5 --F-value 0.9 --n-days 1