package
Version:
v0.3.15
Opens a new window with list of versions in this module.
Published: Oct 4, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ToInt(digit interface{}) (i int, err error)
func ToInt64(digit interface{}) (i int64, err error)
ToJSONList convert v to json list if v is a map
type APIError struct {
Code int64 `json:"code"`
Message string `json:"msg"`
}
APIError define API error when response status is 4xx or 5xx
Error return error code and message
PriceLevel is a common structure for bids and asks in the
order book.
Parse parses this PriceLevel's Price and Quantity and
returns them both. It also returns an error if either
fails to parse.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.