Further scaffolding
This commit is contained in:
16
core/data/events/trade.go
Normal file
16
core/data/events/trade.go
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user