mocks

package
v0.79.0 Latest Latest
Warning

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

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

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 MockMarketPosition

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

MockMarketPosition is a mock of MarketPosition interface.

func NewMockMarketPosition

func NewMockMarketPosition(ctrl *gomock.Controller) *MockMarketPosition

NewMockMarketPosition creates a new mock instance.

func (*MockMarketPosition) AverageEntryPrice added in v0.74.0

func (m *MockMarketPosition) AverageEntryPrice() *num.Uint

AverageEntryPrice mocks base method.

func (*MockMarketPosition) Buy

func (m *MockMarketPosition) Buy() int64

Buy mocks base method.

func (*MockMarketPosition) BuySumProduct added in v0.70.0

func (m *MockMarketPosition) BuySumProduct() *num.Uint

BuySumProduct mocks base method.

func (*MockMarketPosition) ClearPotentials

func (m *MockMarketPosition) ClearPotentials()

ClearPotentials mocks base method.

func (*MockMarketPosition) EXPECT

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

func (*MockMarketPosition) Party

func (m *MockMarketPosition) Party() string

Party mocks base method.

func (*MockMarketPosition) Price

func (m *MockMarketPosition) Price() *num.Uint

Price mocks base method.

func (*MockMarketPosition) Sell

func (m *MockMarketPosition) Sell() int64

Sell mocks base method.

func (*MockMarketPosition) SellSumProduct added in v0.70.0

func (m *MockMarketPosition) SellSumProduct() *num.Uint

SellSumProduct mocks base method.

func (*MockMarketPosition) Size

func (m *MockMarketPosition) Size() int64

Size mocks base method.

func (*MockMarketPosition) VWBuy

func (m *MockMarketPosition) VWBuy() *num.Uint

VWBuy mocks base method.

func (*MockMarketPosition) VWSell

func (m *MockMarketPosition) VWSell() *num.Uint

VWSell mocks base method.

type MockMarketPositionMockRecorder

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

MockMarketPositionMockRecorder is the mock recorder for MockMarketPosition.

func (*MockMarketPositionMockRecorder) AverageEntryPrice added in v0.74.0

func (mr *MockMarketPositionMockRecorder) AverageEntryPrice() *gomock.Call

AverageEntryPrice indicates an expected call of AverageEntryPrice.

func (*MockMarketPositionMockRecorder) Buy

Buy indicates an expected call of Buy.

func (*MockMarketPositionMockRecorder) BuySumProduct added in v0.70.0

func (mr *MockMarketPositionMockRecorder) BuySumProduct() *gomock.Call

BuySumProduct indicates an expected call of BuySumProduct.

func (*MockMarketPositionMockRecorder) ClearPotentials

func (mr *MockMarketPositionMockRecorder) ClearPotentials() *gomock.Call

ClearPotentials indicates an expected call of ClearPotentials.

func (*MockMarketPositionMockRecorder) Party

Party indicates an expected call of Party.

func (*MockMarketPositionMockRecorder) Price

Price indicates an expected call of Price.

func (*MockMarketPositionMockRecorder) Sell

Sell indicates an expected call of Sell.

func (*MockMarketPositionMockRecorder) SellSumProduct added in v0.70.0

func (mr *MockMarketPositionMockRecorder) SellSumProduct() *gomock.Call

SellSumProduct indicates an expected call of SellSumProduct.

func (*MockMarketPositionMockRecorder) Size

Size indicates an expected call of Size.

func (*MockMarketPositionMockRecorder) VWBuy

VWBuy indicates an expected call of VWBuy.

func (*MockMarketPositionMockRecorder) VWSell

VWSell indicates an expected call of VWSell.

type MockProduct

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

MockProduct is a mock of Product interface.

func NewMockProduct

func NewMockProduct(ctrl *gomock.Controller) *MockProduct

NewMockProduct creates a new mock instance.

func (*MockProduct) EXPECT

func (m *MockProduct) EXPECT() *MockProductMockRecorder

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

func (*MockProduct) GetAsset

func (m *MockProduct) GetAsset() string

GetAsset mocks base method.

func (*MockProduct) Settle

func (m *MockProduct) Settle(arg0, arg1 *num.Uint, arg2 decimal.Decimal) (*types.FinancialAmount, bool, decimal.Decimal, error)

Settle mocks base method.

type MockProductMockRecorder

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

MockProductMockRecorder is the mock recorder for MockProduct.

func (*MockProductMockRecorder) GetAsset

func (mr *MockProductMockRecorder) GetAsset() *gomock.Call

GetAsset indicates an expected call of GetAsset.

func (*MockProductMockRecorder) Settle

func (mr *MockProductMockRecorder) Settle(arg0, arg1, arg2 interface{}) *gomock.Call

Settle indicates an expected call of Settle.

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

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.

Jump to

Keyboard shortcuts

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