mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: AGPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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