Documentation ¶
Index ¶
- Variables
- func Get(exchange model.Exchange, market string, dip, pip float64, max, min float64, ...) (float64, float64, float64, error)
- func GetEx(exchange model.Exchange, client interface{}, market string, ticker float64, ...) (float64, float64, float64, error)
- func Round(input, agg float64) float64
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ECannotFindSupports = errors.New("Cannot find any supports. Please update your settings. Or reconsider this market because it might be illiquid.")
)
Functions ¶
func Get ¶
func Get( exchange model.Exchange, market string, dip, pip float64, max, min float64, dist, top int, strict, sandbox bool, ) (float64, float64, float64, error)
returns (agg, dip, pip, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.