adding hierarchy function, adding buy column to the output csv for
daytrader