Home Segments Index Top Previous Next

602: Mainline

By convention, your analyze_trades program should take any one of the following to mean that both the average price and the average number of shares traded are to be computed:

analyze_trades -p -n test.data 
analyze_trades -n -p test.data 
analyze_trades -pn test.data 
analyze_trades -np test.data