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

23
old/t01/1h.go Normal file
View File

@@ -0,0 +1,23 @@
package t01
import (
"github.com/banbox/banbot/config"
"github.com/banbox/banbot/strat"
)
func Main1HV1(pol *config.RunPolicyConfig) *strat.TradeStrat {
// 最适合1h的参数,测试20240101-20240324,50币,无需大周期趋势
maSml = 10
openOffRate = -1.5
badRate = 1.5
goodRate = 1
return &strat.TradeStrat{
Version: 1,
WarmupNum: 300,
MinTfScore: 0.75,
//OnPairInfos: onPairInfos,
OnStartUp: onStartUp,
//OnInfoBar: onInfoBar,
OnBar: onBar,
}
}