func (m *DeribitPriceIndexNotification) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateIndexName(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validatePrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateTimestamp(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this deribit price index notification
package models
import (
	strfmt "github.com/go-openapi/strfmt"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/swag"
	"github.com/go-openapi/validate"
)
type DeribitPriceIndexNotification struct {
	IndexName *string `json:"index_name"`
	Price *float64 `json:"price"`
	Timestamp Timestamp `json:"timestamp"`
}