The parameter is to limit the data.
If 'BUY' is entered for the parameter, only buys would be returned
If 'SELL' is entered, only sells would be returned
however, if you enter 'ALL' a combination of BUY, SELL, CONSTRAIN, HOLD, ON ACCOUNT, etc. would be returned (thus being the entire column)