You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
407 B
17 lines
407 B
package market
|
|
|
|
import "github.com/shopspring/decimal"
|
|
|
|
type GetDepthResponse struct {
|
|
Status string `json:"status"`
|
|
Ch string `json:"ch"`
|
|
Ts int64 `json:"ts"`
|
|
Tick *Depth `json:"tick"`
|
|
}
|
|
|
|
type Depth struct {
|
|
Timestamp int64 `json:"ts"`
|
|
Version int64 `json:"version"`
|
|
Bids [][]decimal.Decimal `json:"bids"`
|
|
Asks [][]decimal.Decimal `json:"asks"`
|
|
}
|
|
|