mock_strategy

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_strategy is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStrategy

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

MockStrategy is a mock of Strategy interface.

func NewMockStrategy

func NewMockStrategy(ctrl *gomock.Controller) *MockStrategy

NewMockStrategy creates a new mock instance.

func (*MockStrategy) EXPECT

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

func (*MockStrategy) Filter added in v0.0.3

func (m *MockStrategy) Filter(ctx context.Context, code string) bool

Filter mocks base method.

func (*MockStrategy) Name added in v0.0.3

func (m *MockStrategy) Name() string

Name mocks base method.

func (*MockStrategy) Next

func (m *MockStrategy) Next(indicator indicator.Value)

Next mocks base method.

func (*MockStrategy) NotifyCashValue

func (m *MockStrategy) NotifyCashValue(before, after int64)

NotifyCashValue mocks base method.

func (*MockStrategy) NotifyFund

func (m *MockStrategy) NotifyFund()

NotifyFund mocks base method.

func (*MockStrategy) NotifyOrder

func (m *MockStrategy) NotifyOrder(o order.Order)

NotifyOrder mocks base method.

func (*MockStrategy) NotifyTrade

func (m *MockStrategy) NotifyTrade()

NotifyTrade mocks base method.

type MockStrategyMockRecorder

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

MockStrategyMockRecorder is the mock recorder for MockStrategy.

func (*MockStrategyMockRecorder) Filter added in v0.0.3

func (mr *MockStrategyMockRecorder) Filter(ctx, code interface{}) *gomock.Call

Filter indicates an expected call of Filter.

func (*MockStrategyMockRecorder) Name added in v0.0.3

func (mr *MockStrategyMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockStrategyMockRecorder) Next

func (mr *MockStrategyMockRecorder) Next(indicator interface{}) *gomock.Call

Next indicates an expected call of Next.

func (*MockStrategyMockRecorder) NotifyCashValue

func (mr *MockStrategyMockRecorder) NotifyCashValue(before, after interface{}) *gomock.Call

NotifyCashValue indicates an expected call of NotifyCashValue.

func (*MockStrategyMockRecorder) NotifyFund

func (mr *MockStrategyMockRecorder) NotifyFund() *gomock.Call

NotifyFund indicates an expected call of NotifyFund.

func (*MockStrategyMockRecorder) NotifyOrder

func (mr *MockStrategyMockRecorder) NotifyOrder(o interface{}) *gomock.Call

NotifyOrder indicates an expected call of NotifyOrder.

func (*MockStrategyMockRecorder) NotifyTrade

func (mr *MockStrategyMockRecorder) NotifyTrade() *gomock.Call

NotifyTrade indicates an expected call of NotifyTrade.

Jump to

Keyboard shortcuts

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