Versions in this module Expand all Collapse all v2 v2.3.1 Jun 16, 2021 Changes in this version + func AmountToLotSize(lot float64, precision int, amount float64) float64 + func CreateErrorMandatoryField(field string) error + func IsAPIError(e error) bool + func ToJSONList(v []byte) []byte + type APIError struct + Code int64 + Message string + func (e APIError) Error() string + type PriceLevel struct + Price string + Quantity string + func (p *PriceLevel) Parse() (float64, float64, error)