stock rsi push to elasticsearch
This commit is contained in:
parent
cf2cc18a78
commit
d3658f6940
@ -315,6 +315,7 @@ func MakeRsi(cr *core.Core, cl *core.Candle, count int) (error, int) {
|
||||
if duration > time.Duration(periodMins-1)*time.Minute {
|
||||
rsi.Confirm = true
|
||||
}
|
||||
fmt.Println("will send rsi")
|
||||
go func() {
|
||||
fmt.Println("make a rsi")
|
||||
cr.RsiProcessChan <- &rsi
|
||||
@ -337,6 +338,7 @@ func MakeRsi(cr *core.Core, cl *core.Candle, count int) (error, int) {
|
||||
DVol: percentD[len(percentD)-1],
|
||||
Confirm: true,
|
||||
}
|
||||
fmt.Println("will send stockrsi")
|
||||
go func() {
|
||||
fmt.Println("make a stockrsi")
|
||||
cr.StockRsiProcessChan <- &srsi
|
||||
|
Loading…
x
Reference in New Issue
Block a user