bbgo_origin/pkg/exchange/max/maxapi/auth.go

17 lines
396 B
Go
Raw Permalink Normal View History

2020-10-01 08:48:08 +00:00
package max
type AuthMessage struct {
Action string `json:"action,omitempty"`
APIKey string `json:"apiKey,omitempty"`
Nonce int64 `json:"nonce,omitempty"`
Signature string `json:"signature,omitempty"`
ID string `json:"id,omitempty"`
Filters []string `json:"filters,omitempty"`
2020-10-01 08:48:08 +00:00
}
type AuthEvent struct {
Event string
ID string
Timestamp int64
}