## pricing.trend_factor()


`(1 + rate) ** years`, the factor of an exponential trend.


Usage


``` python
pricing.trend_factor(
    rate,
    years,
)
```


## Parameters


`rate: float`  
The annual trend, `0.02` for +2%.

`years: float`  


## Returns


`float`  


## Examples

``` python
>>> from prospicio.pricing import trend_factor
>>> round(trend_factor(0.02, 2.5), 4)
```

1.0508
