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: 4 Imported by: 0

Documentation

Overview

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 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.

Jump to

Keyboard shortcuts

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