---
title: "predicate(bookedSince:until:)"
framework: financekit
role: symbol
role_heading: Type Method
path: "financekit/accountbalancequery/predicate(bookedsince:until:)"
---

# predicate(bookedSince:until:)

A predicate that returns booked account balances since a specified date until another date.

## Declaration

```swift
static func predicate(bookedSince startDate: Date, until endDate: Date? = nil) -> Predicate<AccountBalance>
```

## Parameters

- `startDate`: The date to start collecting account balances.
- `endDate`: The date to end collection account balances. This parameter is optional. If this parameter isn’t included, the method returns all account balances since the startDate.

## See Also

### Type Methods

- [predicate(availableSince:until:)](financekit/accountbalancequery/predicate(availablesince:until:).md)
