Proper query based on expiry time. Expiry now queried to provide a range between the beginning of the day provided and the end of the day provided.
Proper query based on expiry time. Expiry now queried to provide a range between the beginning of the day provided and the end of the day provided.

optbot/restapi