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", "OKB-USDT",
"DOGE-USDT", "DOGE-USDT",
"SOL-USDT", "SOL-USDT",
"DYDX-USDT" "DYDX-USDT",
"TRUMP-USDT"
], ],
"softCandleSegmentList": [{ "softCandleSegmentList": [{
"startTime": "2021-12-04 20:00.000", "startTime": "2021-12-04 20:00.000",

View File

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

View File

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