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

17 lines
396 B
Go
Raw Normal View History

2024-06-27 14:42:38 +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"`
}
type AuthEvent struct {
Event string
ID string
Timestamp int64
}