Releases: dirname/binance
Releases · dirname/binance
Fixed go.mod
Rename USDT futures to USD futures
Rename USDT futures to USD futures
Trace order bug
trace order bug debug.PrintStack()
debug.PrintStack()
debug.PrintStack()
Modified logging time encoder
from RFC3339NanoTimeEncoder to ISO8601TimeEncoder
Fixed exchange info response
Filters []struct {
FilterType string `json:"filterType"` // filterType
MinPrice string `json:"minPrice"` // minPrice
MaxPrice string `json:"maxPrice"` // maxPrice
TickSize string `json:"tickSize"` // tickSize
} `json:"filters"` // FiltersMake it parse other filters:
Filters []map[string]interface{} `json:"filters"` // FiltersModified lowercase package name
Modified lowercase package name
github.com/dirname/Binance to github.com/dirname/binance
Fix WS reconnect ticker
func (w *WebsocketClient) connectWebsocket() {
var err error
url := fmt.Sprintf("wss://%s%s", w.host, w.stream)
logger.Debug("Start connecting %s...", url)
w.conn, _, err = websocket.DefaultDialer.Dial(url, nil)
if err != nil {
logger.Error("Websocket connection error: %s", err.Error())
return
}
logger.Info("%s connected", url)
w.lastReceivedTime = time.Now()
w.establishmentTime = time.Now()
w.startReadLoop()
if w.connectedHandler != nil {
w.connectedHandler()
}
}Add declaration and setting of WS time element
- Add declaration and setting of WS time element
- Improve code coverage
- Add WS account streams
- Add listenKey constructor
Fixed order builder bug
Repair market order parameter constructor