testutil

package
v0.0.0-...-148b98b Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CandleIndex int
View Source
var MockedTimeSeries = MockTimeSeriesFl(
	64.75, 63.79, 63.73,
	63.73, 63.55, 63.19,
	63.91, 63.85, 62.95,
	63.37, 61.33, 61.51)

Functions

func IndicatorEquals

func IndicatorEquals(t *testing.T, expected []float64, indicator techan.Indicator)

func MockTimeSeries

func MockTimeSeries(values ...string) *techan.TimeSeries

func MockTimeSeriesFl

func MockTimeSeriesFl(values ...float64) *techan.TimeSeries

Types

This section is empty.

Jump to

Keyboard shortcuts

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