Further scaffolding
This commit is contained in:
20
core/data/events/mbodelta.go
Normal file
20
core/data/events/mbodelta.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package events
|
||||
|
||||
type MBODelta struct {
|
||||
Operation MBOOrderOp
|
||||
OrderID string
|
||||
Side Side
|
||||
Price float64
|
||||
Size float64
|
||||
IsMaker bool
|
||||
Seq uint64
|
||||
ParentID string
|
||||
}
|
||||
|
||||
type MBOOrderOp uint8
|
||||
|
||||
const (
|
||||
OrderAdd MBOOrderOp = iota
|
||||
OrderMod
|
||||
OrderDel
|
||||
)
|
||||
Reference in New Issue
Block a user