2

Is it fine to use recently with the past simple tense in the following sentence:

Did you read any books recently?

Is it grammatically correct?

Or do I have to use:

Have you read any books recently?