Allow non-quantmod data; code untested for lack of alternative to test
Start of data munging functions