Versions in this module Expand all Collapse all v2 v2.0.2 Oct 1, 2024 v2.0.1 Oct 1, 2024 Changes in this version + const KeyTypeEd25519 + const KeyTypeHmac + const KeyTypeRsa + func AmountToLotSize(lot float64, precision int, amount float64) float64 + func Ed25519(secretKey string, data string) (*string, error) + func Hmac(secretKey string, data string) (*string, error) + func IsAPIError(e error) bool + func Rsa(secretKey string, data string) (*string, error) + func SignFunc(keyType string) (func(string, string) (*string, error), error) + func ToInt(digit interface{}) (i int, err error) + func ToInt64(digit interface{}) (i int64, err error) + func ToJSONList(v []byte) []byte + type APIError struct + Code int64 + Message string + Response []byte + func (e APIError) Error() string + func (e APIError) IsValid() bool + type PriceLevel struct + Price string + Quantity string + func (p *PriceLevel) Parse() (float64, float64, error)