model

package
v0.0.0-...-f5eb285 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfitabilityPercent

type ProfitabilityPercent struct {
	Value     int64
	Precision int64
}

type Spread

type Spread struct {
	Identifier SpreadIdentifier
}

type SpreadIdentifier

type SpreadIdentifier string
type SpreadWithLink struct {
	Identifier SpreadIdentifier
}

type SpreadsFilter

type SpreadsFilter struct {
	ProfitabilityFilter *SpreadsProfitabilityFilter
	LengthFilter        *SpreadsLengthFilter
	FoundDateFilter     *SpreadsFoundDateFilter
}

type SpreadsFoundDateFilter

type SpreadsFoundDateFilter struct {
	StartDate time.Time
	EndDate   time.Time
}

type SpreadsLengthFilter

type SpreadsLengthFilter struct {
	MinLength int64
	MaxLength int64
}

type SpreadsProfitabilityFilter

type SpreadsProfitabilityFilter struct {
	MinProfitability ProfitabilityPercent
	MaxProfitability ProfitabilityPercent
}

Jump to

Keyboard shortcuts

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