Implemented GetOrdersByDateRange
Cleaned up pep errors