17 lines
212 B
Go
17 lines
212 B
Go
|
package trademodel
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
type DepthInfo struct {
|
||
|
Price float64
|
||
|
Amount float64
|
||
|
}
|
||
|
|
||
|
type Depth OrderBook
|
||
|
|
||
|
type OrderBook struct {
|
||
|
Sells []DepthInfo
|
||
|
Buys []DepthInfo
|
||
|
UpdateTime time.Time
|
||
|
}
|