Documentation
¶
Index ¶
- func AddFloat(data ...string) float64
- func AlignPrice(rawPrice float64, stepSize string) float64
- func AlignPriceToString(rawPrice float64, stepSize string) string
- func AlignQuantity(quantity float64, stepSize string) float64
- func AlignQuantityToString(quantity float64, stepSize string) string
- func AmountToLotSize(lot float64, precision int, amount float64) float64
- func CheckCurrentCandle(candleData interface{}, interval string) error
- func DivFloatToString(fraction, numerator string) string
- func FloatToString(val float64) string
- func MinFloat(a, b string) float64
- func MulFloatToString(a, b float64) string
- func ResolvePositionSide(rsi float64) string
- func StringToFloat(val string) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlignPrice ¶
func AlignPriceToString ¶
func AlignQuantity ¶
may be not allow in case round to < min
func AlignQuantityToString ¶
func CheckCurrentCandle ¶
func DivFloatToString ¶
func FloatToString ¶
func MulFloatToString ¶
func ResolvePositionSide ¶
func StringToFloat ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.