## pricing.in_force()


The amount in force on a date: the sum of the full-term amounts, as


Usage


``` python
pricing.in_force(
    effective, expiration, amount, date, changes=None, cancellation=None
)
```


they stand that day, of the policies effective on or before it and not yet expired or cancelled. A snapshot, with no regard to how long each policy runs.


## Parameters


`effective: list of datetime.date or str`  

`expiration: list of datetime.date or str`  

`amount: list of float`  

`date: datetime.date or str`  

`changes: list of (int, date, float) = None`  

`cancellation: list of (date or None) = None`  
As in [earned_exposure](pricing.earned_exposure.md#prospicio.pricing.earned_exposure).


## Returns


`float`  


## Examples

``` python
>>> from prospicio.pricing import in_force
>>> in_force(["2011-07-01"], ["2012-07-01"], [400.0], "2012-01-01",
...          changes=[(0, "2012-01-01", 800.0)])
```

800.0
