Files
banstagy/old/t01/1h.go
2026-08-24 20:53:21 +08:00

24 lines
487 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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,
}
}