CS290I - Scalable Internet Services and Systems

Thorsten von Eicken - UCSB - Spring 2001

Project 4 DoReq.pl test

doreq.pl is a perl script issuing a number of robot requests to verify that the requests are processed correctly and return correctly formatted responses.

Doreq trades generated

# ticker acct type qty limit price settlement
1 BND acct09 buy 7 1.65 #7
2 HAND acct08 sell 5 11.74  
3 MIPS acct04 sell 7 25.40 #16
4 IDCP.OB acct02 sell 2    
5 EMCC.OB acct09 sell 1 1.04  
6 WFRCE.OB acct06 sell 2 1.05 #15
7 BND acct03 sell 10 1.55 #1: 7@1.60
8 WFRCE.OB acct06 sell 2 1.07 #15
9 IDCP.OB acct02 sell 1 0.17  
10 SCPI.OB acct07 sell 2 0.14  
11 DNTK.OB acct05 buy 1 1.47  
12 IDCP.OB acct03 buy 1 0.17 #9: 1@0.17
13 DNTK.OB acct05 sell 1 1.49 #19
14 IDCP.OB acct02 sell 7 0.17  
15 WFRCE.OB acct08 buy 3 1.15 #6:2@1.10
#8: 1@1.11
16 MIPS acct01 buy 2   #3: 2@25.40
17 SUNW acct06 buy 7 17.91  
18 FWRX.OB acct07 buy 1 0.83  
19 DNTK acct04 buy 7 1.51 #13: 1@1.50
20 MUEI acct05 buy 7 2.02  

Doreq sample output

Sample order book:

139192,hand,2008-08-21 02:32:57.0,acct08,sell,5,11.740
139195,emcc.ob,2008-08-21 02:35:38.0,acct09,sell,1,1.040
139199,bnd,2008-08-21 02:40:02.0,acct03,sell,3,1.550
139201,IDCP.OB,2008-08-21 02:42:14.0,acct02,sell,1,0.170
139202,SCPI.OB,2008-08-21 02:43:06.0,acct07,sell,2,0.140
139203,DNTK.OB,2008-08-21 02:44:00.0,acct05,buy,1,1.470
139206,IDCP.OB,2008-08-21 02:34:42.0,acct02,sell,1,0.000
139208,IDCP.OB,2008-08-21 02:47:15.0,acct02,sell,7,0.170
139213,wfrce.ob,2008-08-21 02:41:24.0,acct06,sell,1,1.070
139216,mips,2008-08-21 02:33:53.0,acct04,sell,5,25.400
139217,sunw,2008-08-21 02:50:58.0,acct06,buy,7,17.910
139218,FWRX.OB,2008-08-21 02:51:51.0,acct07,buy,1,0.830
139221,DNTK.OB,2008-08-21 02:52:41.0,acct04,buy,6,1.510
139222,muei,2008-08-21 02:53:55.0,acct05,buy,7,2.020

Sample transaction logs:

139191,BND,2008-08-21 02:32:06.0,acct09,buy,7,1.650,fulfilled,2008-08-21 02:40:02.0,1.600,none
139198,BND,2008-08-21 02:40:02.0,acct03,sell,7,1.550,fulfilled,2008-08-21 02:40:02.0,1.600,139197
139197,BND,2008-08-21 02:40:02.0,acct03,sell,10,1.550,split,2008-08-21 02:40:02.0,0.000,none

139215,MIPS,2008-08-21 02:33:53.0,acct04,sell,2,25.400,fulfilled,2008-08-21 02:49:51.0,25.400,139193
139193,MIPS,2008-08-21 02:33:53.0,acct04,sell,7,25.400,split,2008-08-21 02:49:51.0,0.000,none
139214,MIPS,2008-08-21 02:49:51.0,acct01,buy,2,0.000,fulfilled,2008-08-21 02:49:51.0,25.400,none

139207,DNTK.OB,2008-08-21 02:46:25.0,acct05,sell,1,1.490,fulfilled,2008-08-21 02:52:41.0,1.500,none
139220,DNTK.OB,2008-08-21 02:52:41.0,acct04,buy,1,1.510,fulfilled,2008-08-21 02:52:41.0,1.500,139219
139219,DNTK.OB,2008-08-21 02:52:41.0,acct04,buy,7,1.510,split,2008-08-21 02:52:41.0,0.000,none

139196,WFRCE.OB,2008-08-21 02:36:29.0,acct06,sell,2,1.050,fulfilled,2008-08-21 02:48:08.0,1.100,none
139212,WFRCE.OB,2008-08-21 02:41:24.0,acct06,sell,1,1.070,fulfilled,2008-08-21 02:48:08.0,1.110,139200
139200,WFRCE.OB,2008-08-21 02:41:24.0,acct06,sell,2,1.070,split,2008-08-21 02:48:08.0,0.000,none
139211,WFRCE.OB,2008-08-21 02:48:08.0,acct08,buy,1,1.150,fulfilled,2008-08-21 02:48:17:43:10.0,1.110,139209
139210,WFRCE.OB,2008-08-24 02:53:10.0,acct08,buy,2,1.150,fulfilled,2008-08-24 02:53:10.0,1.100,139209
139209,WFRCE.OB,2008-08-24 02:53:10.0,acct08,buy,3,1.150,split,2008-08-24 02:53:10.0,0.000,none