Reorganized structure, seperating implementations from core logic

This commit is contained in:
2025-11-28 00:53:37 +08:00
parent f1e5937978
commit 9b9d9e2156
24 changed files with 4 additions and 108 deletions

16
pkg/data/events/trade.go Normal file
View File

@@ -0,0 +1,16 @@
package events
type Trade struct {
Price float64
Qty float64
Aggressor AggressorSide
TradeID string
}
type AggressorSide uint8
const (
AggUnknown AggressorSide = iota
AggBuy
AggSell
)