Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SellReason ¶
type SellReason int
SellReason represents enum to distinguish between sell reasons.
const ( None SellReason = iota ROI Stoploss Limit SellSignal ForceSell EmergencySell CustomSell )
Declare related constants for each sell reason starting with index 1.
func (SellReason) Index ¶
func (r SellReason) Index() int
Index returns the index to the given enum value.
func (SellReason) String ¶
func (r SellReason) String() string
String returns the string to the given enum value.
Click to show internal directories.
Click to hide internal directories.