Database

[{"_id":43,"name":"A","prices":[{"_id":1,"d":ISODate("2019-08-19T00:00:00.000Z"),"h":182.1,},{"_id":2,"d":ISODate("2019-08-20T00:00:00.000Z"),"h":182.1,},{"_id":3,"d":ISODate("2019-08-21T00:00:00.000Z"),"h":182.1,}]}]

Query

db.collection.aggregate([{$project:{items:{$filter:{input:"$prices",as:"price",cond:{"$and":[{$gte:["$$price.d",new Date("2019-08-20")]},{$lte:["$$price.d",new Date("2019-08-21")]}]}}}}}])

Result