add fixed growth for bpis
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user