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.
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 ¶
func (m *MockOrderBook) EXPECT() *MockOrderBookMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrderBook) GetLiquidityOrders ¶ added in v0.62.0
func (m *MockOrderBook) GetLiquidityOrders(arg0 string) []*types.Order
GetLiquidityOrders mocks base method.
func (*MockOrderBook) GetOrderByID ¶
func (m *MockOrderBook) GetOrderByID(arg0 string) (*types.Order, error)
GetOrderByID mocks base method.
func (*MockOrderBook) GetOrdersPerParty ¶ added in v0.62.0
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) GetLiquidityOrders ¶ added in v0.62.0
func (mr *MockOrderBookMockRecorder) GetLiquidityOrders(arg0 interface{}) *gomock.Call
GetLiquidityOrders indicates an expected call of GetLiquidityOrders.
func (*MockOrderBookMockRecorder) GetOrderByID ¶
func (mr *MockOrderBookMockRecorder) GetOrderByID(arg0 interface{}) *gomock.Call
GetOrderByID indicates an expected call of GetOrderByID.
func (*MockOrderBookMockRecorder) GetOrdersPerParty ¶ added in v0.62.0
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 ¶
func (m *MockPriceMonitor) EXPECT() *MockPriceMonitorMockRecorder
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 ¶
func (m *MockRiskModel) EXPECT() *MockRiskModelMockRecorder
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 ¶
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
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.