from database.trades import trades_on from datetime import datetime data = trades_on(datetime(2024, 1, 23)) print(data)