uk.ac.liv.auction.stats
Class CSVReport

java.lang.Object
  extended byuk.ac.liv.auction.stats.AbstractAuctionReport
      extended byuk.ac.liv.auction.stats.DataWriterReport
          extended byuk.ac.liv.auction.stats.CSVReport
All Implemented Interfaces:
AuctionEventListener, AuctionReport, Parameterizable

public class CSVReport
extends DataWriterReport
implements Parameterizable

A report that records data in CSV (comma-separated values) files.

Parameters

base.quotelogfile
string
(the filename to store the quote data)
base.shoutlogfile
string
(the filename to store the shout data)
base.translogfile
string
(the filename to store the transaction price data)

Version:
$Revision: 1.2 $
Author:
Steve Phelps

Field Summary
 
Fields inherited from class uk.ac.liv.auction.stats.DataWriterReport
askLog, askQuoteLog, auction, bidLog, bidQuoteLog, transPriceLog
 
Constructor Summary
CSVReport()
           
 
Method Summary
 void setCSVAskLog(java.io.OutputStream stream)
          Assign an output stream for logging shouts in comma-separated variable (CSV) format.
 void setCSVAskQuoteLog(java.io.OutputStream stream)
          Assign an output stream for logging market quote data in comma-separated variable (CSV) format.
 void setCSVBidLog(java.io.OutputStream stream)
           
 void setCSVBidQuoteLog(java.io.OutputStream stream)
          Assign an output stream for logging market quote data in comma-separated variable (CSV) format.
 void setCSVTransPriceLog(java.io.OutputStream stream)
          Assign an output stream for logging transaction price data in CSV format.
 void setup(ec.util.ParameterDatabase parameters, ec.util.Parameter base)
          Initialise this object from a parameter database.
 
Methods inherited from class uk.ac.liv.auction.stats.DataWriterReport
dataUpdated, eventOccurred, getVariables, produceUserOutput, setAuction, updateQuoteLog, updateShoutLog, updateTransPriceLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVReport

public CSVReport()
Method Detail

setup

public void setup(ec.util.ParameterDatabase parameters,
                  ec.util.Parameter base)
Description copied from interface: Parameterizable
Initialise this object from a parameter database.

Specified by:
setup in interface Parameterizable
Overrides:
setup in class DataWriterReport

setCSVAskQuoteLog

public void setCSVAskQuoteLog(java.io.OutputStream stream)
Assign an output stream for logging market quote data in comma-separated variable (CSV) format.


setCSVBidQuoteLog

public void setCSVBidQuoteLog(java.io.OutputStream stream)
Assign an output stream for logging market quote data in comma-separated variable (CSV) format.


setCSVAskLog

public void setCSVAskLog(java.io.OutputStream stream)
Assign an output stream for logging shouts in comma-separated variable (CSV) format. This can significantly impact the performance of an auction.


setCSVBidLog

public void setCSVBidLog(java.io.OutputStream stream)

setCSVTransPriceLog

public void setCSVTransPriceLog(java.io.OutputStream stream)
Assign an output stream for logging transaction price data in CSV format.