added logic to import data
added todo's
added logic to bucket the trade data into time segments