refactor: rename decision package to kernel

This commit is contained in:
tinkle-community
2026-01-03 14:25:40 +08:00
parent d664dcca3d
commit 13fda47151
13 changed files with 76 additions and 76 deletions

View File

@@ -4,7 +4,7 @@ import (
"context"
"fmt"
"nofx/debate"
"nofx/decision"
"nofx/kernel"
"nofx/logger"
"nofx/store"
"nofx/trader"
@@ -19,7 +19,7 @@ type TraderExecutorAdapter struct {
}
// ExecuteDecision executes a trading decision
func (a *TraderExecutorAdapter) ExecuteDecision(d *decision.Decision) error {
func (a *TraderExecutorAdapter) ExecuteDecision(d *kernel.Decision) error {
return a.autoTrader.ExecuteDecision(d)
}