trademodel/orderbook.go

17 lines
212 B
Go
Raw Normal View History

2024-06-25 13:52:58 +00:00
package trademodel
import "time"
type DepthInfo struct {
Price float64
Amount float64
}
type Depth OrderBook
type OrderBook struct {
Sells []DepthInfo
Buys []DepthInfo
UpdateTime time.Time
}