mocks

package
v1.56.0 Latest Latest
Warning

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

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

Documentation

Overview

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 MockOrderExecutor

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

MockOrderExecutor is a mock of OrderExecutor interface.

func NewMockOrderExecutor

func NewMockOrderExecutor(ctrl *gomock.Controller) *MockOrderExecutor

NewMockOrderExecutor creates a new mock instance.

func (*MockOrderExecutor) ActiveMakerOrders added in v1.43.1

func (m *MockOrderExecutor) ActiveMakerOrders() *bbgo.ActiveOrderBook

ActiveMakerOrders mocks base method.

func (*MockOrderExecutor) ClosePosition

func (m *MockOrderExecutor) ClosePosition(arg0 context.Context, arg1 fixedpoint.Value, arg2 ...string) error

ClosePosition mocks base method.

func (*MockOrderExecutor) EXPECT

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

func (*MockOrderExecutor) GracefulCancel

func (m *MockOrderExecutor) GracefulCancel(arg0 context.Context, arg1 ...types.Order) error

GracefulCancel mocks base method.

func (*MockOrderExecutor) SubmitOrders

func (m *MockOrderExecutor) SubmitOrders(arg0 context.Context, arg1 ...types.SubmitOrder) (types.OrderSlice, error)

SubmitOrders mocks base method.

type MockOrderExecutorMockRecorder

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

MockOrderExecutorMockRecorder is the mock recorder for MockOrderExecutor.

func (*MockOrderExecutorMockRecorder) ActiveMakerOrders added in v1.43.1

func (mr *MockOrderExecutorMockRecorder) ActiveMakerOrders() *gomock.Call

ActiveMakerOrders indicates an expected call of ActiveMakerOrders.

func (*MockOrderExecutorMockRecorder) ClosePosition

func (mr *MockOrderExecutorMockRecorder) ClosePosition(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ClosePosition indicates an expected call of ClosePosition.

func (*MockOrderExecutorMockRecorder) GracefulCancel

func (mr *MockOrderExecutorMockRecorder) GracefulCancel(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GracefulCancel indicates an expected call of GracefulCancel.

func (*MockOrderExecutorMockRecorder) SubmitOrders

func (mr *MockOrderExecutorMockRecorder) SubmitOrders(arg0 interface{}, arg1 ...interface{}) *gomock.Call

SubmitOrders indicates an expected call of SubmitOrders.

Jump to

Keyboard shortcuts

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