func (m *TickerNotification) Validate(formats strfmt.Registry) error {
	var res []error
	if err := m.validateAskIv(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateBestAskAmount(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateBestAskPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateBestBidAmount(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateBestBidPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateBidIv(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateCurrentFunding(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateDeliveryPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateFunding8h(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateGreeks(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateIndexPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateInstrumentName(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateInterestRate(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateLastPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateMarkIv(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateMarkPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateMaxPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateMinPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateOpenInterest(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateSettlementPrice(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateState(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateStats(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateTimestamp(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateUnderlyingIndex(formats); err != nil {
		res = append(res, err)
	}
	if err := m.validateUnderlyingPrice(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
Validate validates this ticker 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 TickerNotification struct {
	AskIv AskIv `json:"ask_iv,omitempty"`
	BestAskAmount BestAskAmount `json:"best_ask_amount"`
	BestAskPrice BestAskPrice `json:"best_ask_price"`
	BestBidAmount BestBidAmount `json:"best_bid_amount"`
	BestBidPrice BestBidPrice `json:"best_bid_price"`
	BidIv BidIv `json:"bid_iv,omitempty"`
	CurrentFunding CurrentFunding `json:"current_funding,omitempty"`
	DeliveryPrice DeliveryPrice `json:"delivery_price,omitempty"`
	Funding8h Funding8h `json:"funding_8h,omitempty"`
	Greeks *Greeks `json:"greeks,omitempty"`
	IndexPrice IndexPrice `json:"index_price"`
	InstrumentName InstrumentName `json:"instrument_name"`
	InterestRate InterestRate `json:"interest_rate,omitempty"`
	LastPrice LastPrice `json:"last_price"`
	MarkIv MarkIv `json:"mark_iv,omitempty"`
	MarkPrice MarkPrice `json:"mark_price"`
	MaxPrice MaxPrice `json:"max_price"`
	MinPrice MinPrice `json:"min_price"`
	OpenInterest OpenInterest `json:"open_interest"`
	SettlementPrice SettlementPrice `json:"settlement_price,omitempty"`
	State BookState `json:"state"`
	Stats *Stats `json:"stats"`
	Timestamp Timestamp `json:"timestamp"`
	UnderlyingIndex UnderlyingIndex `json:"underlying_index,omitempty"`
	UnderlyingPrice UnderlyingPrice `json:"underlying_price,omitempty"`
}