tSide

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Buy     = Side(1)
	Sell    = Side(-1)
	DEFAULT = Side(0)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Side

type Side int

func Get

func Get(s string) Side

func (Side) ForLog

func (s Side) ForLog() string

func (Side) ForLogPosition

func (s Side) ForLogPosition() string

func (Side) IsBuy

func (s Side) IsBuy() bool

func (Side) IsSell

func (s Side) IsSell() bool

func (Side) Position

func (s Side) Position() string

func (Side) String

func (s Side) String() string

Jump to

Keyboard shortcuts

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