Home Segments Index Top Previous Next

415: Mainline

Imagine that your brokerage company has modified trade files such that each trade is described by an industry-encoding digit as well as by the price per share and number of shares traded. Here, for example, is a sample file:

0  3.3  300 
1  2.5  400 
5  9.9  100 
5 10.1  500 
2  5.0  200 

Further imagine that you want to use the industry code to pick out trades of interest, ignoring the rest.