add trump

This commit is contained in:
zhangkun9038@dingtalk.com 2025-02-20 08:32:07 +08:00
parent 713b58b93c
commit d4ab8c5b63
3 changed files with 15 additions and 4 deletions

View File

@ -199,7 +199,8 @@
"OKB-USDT",
"DOGE-USDT",
"SOL-USDT",
"DYDX-USDT"
"DYDX-USDT",
"TRUMP-USDT"
],
"softCandleSegmentList": [{
"startTime": "2021-12-04 20:00.000",

View File

@ -77,9 +77,9 @@ func main() {
}()
// 这些暂时不运行, 以后要不要运行再说
// go func() {
// core.CoasterProcess(&cr)
// }()
go func() {
md.CoasterProcess(&cr)
}()
// go func() {
// core.SeriesProcess(&cr)
// }()

View File

@ -725,6 +725,16 @@ func MaXsProcess(cr *core.Core) {
}(mx)
}
}
func CoasterProcess(cr *core.Core) {
for {
ci := <-cr.CoasterChan
go func(coa *core.CoasterInfo) {
coa.Process(cr)
}(ci)
}
}
func RsisProcess(cr *core.Core) {
for {
rsi := <-cr.RsiProcessChan