init
This commit is contained in:
23
old/t01/1h.go
Normal file
23
old/t01/1h.go
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user