mocks

package
v0.0.0-...-c0411a1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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

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

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

ActiveMakerOrders indicates an expected call of ActiveMakerOrders.

func (*MockOrderExecutorMockRecorder) ClosePosition

func (mr *MockOrderExecutorMockRecorder) ClosePosition(arg0, arg1 any, arg2 ...any) *gomock.Call

ClosePosition indicates an expected call of ClosePosition.

func (*MockOrderExecutorMockRecorder) GracefulCancel

func (mr *MockOrderExecutorMockRecorder) GracefulCancel(arg0 any, arg1 ...any) *gomock.Call

GracefulCancel indicates an expected call of GracefulCancel.

func (*MockOrderExecutorMockRecorder) SubmitOrders

func (mr *MockOrderExecutorMockRecorder) SubmitOrders(arg0 any, arg1 ...any) *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