Reorganized structure, seperating implementations from core logic
This commit is contained in:
13
pkg/data/events/mbpsnapshot.go
Normal file
13
pkg/data/events/mbpsnapshot.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package events
|
||||
|
||||
type MBPSnapshot struct {
|
||||
Bids []PriceLevel
|
||||
Asks []PriceLevel
|
||||
Depth int
|
||||
Seq uint64
|
||||
}
|
||||
|
||||
type PriceLevel struct {
|
||||
Price float64
|
||||
Size float64
|
||||
}
|
||||
Reference in New Issue
Block a user