mocks

package
v0.77.9-patch.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIDGen

type MockIDGen struct {
	// contains filtered or unexported fields
}

MockIDGen is a mock of IDGen interface.

func NewMockIDGen

func NewMockIDGen(ctrl *gomock.Controller) *MockIDGen

NewMockIDGen creates a new mock instance.

func (*MockIDGen) EXPECT

func (m *MockIDGen) EXPECT() *MockIDGenMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIDGen) NextID

func (m *MockIDGen) NextID() string

NextID mocks base method.

type MockIDGenMockRecorder

type MockIDGenMockRecorder struct {
	// contains filtered or unexported fields
}

MockIDGenMockRecorder is the mock recorder for MockIDGen.

func (*MockIDGenMockRecorder) NextID

func (mr *MockIDGenMockRecorder) NextID() *gomock.Call

NextID indicates an expected call of NextID.

type MockOrderBook

type MockOrderBook struct {
	// contains filtered or unexported fields
}

MockOrderBook is a mock of OrderBook interface.

func NewMockOrderBook

func NewMockOrderBook(ctrl *gomock.Controller) *MockOrderBook

NewMockOrderBook creates a new mock instance.

func (*MockOrderBook) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOrderBook) GetBestStaticAskPrice

func (m *MockOrderBook) GetBestStaticAskPrice() (*num.Uint, error)

GetBestStaticAskPrice mocks base method.

func (*MockOrderBook) GetBestStaticBidPrice

func (m *MockOrderBook) GetBestStaticBidPrice() (*num.Uint, error)

GetBestStaticBidPrice mocks base method.

func (*MockOrderBook) GetIndicativePrice

func (m *MockOrderBook) GetIndicativePrice() *num.Uint

GetIndicativePrice mocks base method.

func (*MockOrderBook) GetLastTradedPrice

func (m *MockOrderBook) GetLastTradedPrice() *num.Uint

GetLastTradedPrice mocks base method.

func (*MockOrderBook) GetOrdersPerParty

func (m *MockOrderBook) GetOrdersPerParty(arg0 string) []*types.Order

GetOrdersPerParty mocks base method.

type MockOrderBookMockRecorder

type MockOrderBookMockRecorder struct {
	// contains filtered or unexported fields
}

MockOrderBookMockRecorder is the mock recorder for MockOrderBook.

func (*MockOrderBookMockRecorder) GetBestStaticAskPrice

func (mr *MockOrderBookMockRecorder) GetBestStaticAskPrice() *gomock.Call

GetBestStaticAskPrice indicates an expected call of GetBestStaticAskPrice.

func (*MockOrderBookMockRecorder) GetBestStaticBidPrice

func (mr *MockOrderBookMockRecorder) GetBestStaticBidPrice() *gomock.Call

GetBestStaticBidPrice indicates an expected call of GetBestStaticBidPrice.

func (*MockOrderBookMockRecorder) GetIndicativePrice

func (mr *MockOrderBookMockRecorder) GetIndicativePrice() *gomock.Call

GetIndicativePrice indicates an expected call of GetIndicativePrice.

func (*MockOrderBookMockRecorder) GetLastTradedPrice

func (mr *MockOrderBookMockRecorder) GetLastTradedPrice() *gomock.Call

GetLastTradedPrice indicates an expected call of GetLastTradedPrice.

func (*MockOrderBookMockRecorder) GetOrdersPerParty

func (mr *MockOrderBookMockRecorder) GetOrdersPerParty(arg0 interface{}) *gomock.Call

GetOrdersPerParty indicates an expected call of GetOrdersPerParty.

type MockPriceMonitor

type MockPriceMonitor struct {
	// contains filtered or unexported fields
}

MockPriceMonitor is a mock of PriceMonitor interface.

func NewMockPriceMonitor

func NewMockPriceMonitor(ctrl *gomock.Controller) *MockPriceMonitor

NewMockPriceMonitor creates a new mock instance.

func (*MockPriceMonitor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPriceMonitor) GetValidPriceRange

func (m *MockPriceMonitor) GetValidPriceRange() (num.WrappedDecimal, num.WrappedDecimal)

GetValidPriceRange mocks base method.

type MockPriceMonitorMockRecorder

type MockPriceMonitorMockRecorder struct {
	// contains filtered or unexported fields
}

MockPriceMonitorMockRecorder is the mock recorder for MockPriceMonitor.

func (*MockPriceMonitorMockRecorder) GetValidPriceRange

func (mr *MockPriceMonitorMockRecorder) GetValidPriceRange() *gomock.Call

GetValidPriceRange indicates an expected call of GetValidPriceRange.

type MockRiskModel

type MockRiskModel struct {
	// contains filtered or unexported fields
}

MockRiskModel is a mock of RiskModel interface.

func NewMockRiskModel

func NewMockRiskModel(ctrl *gomock.Controller) *MockRiskModel

NewMockRiskModel creates a new mock instance.

func (*MockRiskModel) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRiskModel) GetProjectionHorizon

func (m *MockRiskModel) GetProjectionHorizon() decimal.Decimal

GetProjectionHorizon mocks base method.

func (*MockRiskModel) ProbabilityOfTrading

func (m *MockRiskModel) ProbabilityOfTrading(arg0, arg1, arg2, arg3, arg4 decimal.Decimal, arg5, arg6 bool) decimal.Decimal

ProbabilityOfTrading mocks base method.

type MockRiskModelMockRecorder

type MockRiskModelMockRecorder struct {
	// contains filtered or unexported fields
}

MockRiskModelMockRecorder is the mock recorder for MockRiskModel.

func (*MockRiskModelMockRecorder) GetProjectionHorizon

func (mr *MockRiskModelMockRecorder) GetProjectionHorizon() *gomock.Call

GetProjectionHorizon indicates an expected call of GetProjectionHorizon.

func (*MockRiskModelMockRecorder) ProbabilityOfTrading

func (mr *MockRiskModelMockRecorder) ProbabilityOfTrading(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

ProbabilityOfTrading indicates an expected call of ProbabilityOfTrading.

type MockTimeService

type MockTimeService struct {
	// contains filtered or unexported fields
}

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

type MockTimeServiceMockRecorder

type MockTimeServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL