This commit is contained in:
2026-08-24 20:53:21 +08:00
commit 6e78bba16a
287 changed files with 32443 additions and 0 deletions

26
demo/main.go Normal file
View File

@@ -0,0 +1,26 @@
package demo
import (
"github.com/banbox/banbot/strat"
)
func init() {
strat.AddStratGroup("demo", map[string]strat.FuncMakeStrat{
"dca": DCA,
"tmp": tmp,
"01": DemoV1,
"agg": BarAgg,
"stat": BarStat,
"demo": Demo,
"demo_er": DemoER,
"riskRw": fixRiskReward,
"hold": Hold,
"holdSL": HoldSL,
"show": Show,
"tmp1": Tmp1,
"made": Made,
"test": Test,
"hft": hft,
"TrailStop": TrailStop,
})
}