add fixed growth for bpis

main
Bel LaPointe 2023-10-27 17:16:30 -06:00
parent 9384098578
commit 8a0b42ee77
2 changed files with 6 additions and 1 deletions

View File

@ -68,6 +68,11 @@
<input name="prediction" type="text" value="contributions=&prediction=interest=AssetAccount:Cash \$ 0.02"/>
</span>
<span>
<label for="predictFixedGrowth">predictFixedGrowth</label>
<input name="predictFixedGrowth" type="text" value="VBTLX=0.02"/>
</span>
<span>
<input type="submit"/>
</span>

View File

@ -134,7 +134,7 @@ func main() {
}
}
if r.URL.Query().Get("bpi") != "" {
if r.URL.Query().Get("bpi") == "true" {
register = register.WithBPIs(bpis)
predicted = predicted.WithBPIs(bpis)
}