Skip to content

Commit

Permalink
fix: update code
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZhengZhao committed Nov 11, 2024
1 parent 1c00e94 commit a1573fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions feature/feature_notice.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@ func NoticeAllSymbolByStrategy() {

for _, coin := range coins {
nowTime := time.Now().Unix() * 1000 // 毫秒时间戳
if coin.Enable != 1 {
continue
}

lastNoticeTime, exist := coinNoticeLastTimeMap[coin.Symbol]
if exist {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func main() {
}
}()

// 轮训测试所有合约交易的币种策略(没轮10个)
// 轮训测试所有开启合约交易的币种策略(每轮10个)
go func() {
for {
feature.NoticeAllSymbolByStrategy()
Expand Down

0 comments on commit a1573fd

Please sign in to comment.