Skip to content

Releases: dirname/binance

Fixed go.mod

09 May 07:20
Compare
Choose a tag to compare

Fixed go.mod

Rename USDT futures to USD futures

09 May 07:01
Compare
Choose a tag to compare

Rename USDT futures to USD futures

Trace order bug

08 May 12:44
Compare
Choose a tag to compare

trace order bug debug.PrintStack()

debug.PrintStack()

08 May 09:54
Compare
Choose a tag to compare
debug.PrintStack()

Modified logging time encoder

05 May 20:03
Compare
Choose a tag to compare

from RFC3339NanoTimeEncoder to ISO8601TimeEncoder

Fixed exchange info response

05 May 16:57
Compare
Choose a tag to compare
Filters []struct {
	FilterType string `json:"filterType"` // filterType
	MinPrice   string `json:"minPrice"`   // minPrice
	MaxPrice   string `json:"maxPrice"`   // maxPrice
	TickSize   string `json:"tickSize"`   // tickSize
} `json:"filters"` // Filters

Make it parse other filters:

Filters  []map[string]interface{} `json:"filters"`  // Filters

Modified lowercase package name

24 Apr 09:06
Compare
Choose a tag to compare

Modified lowercase package name

github.com/dirname/Binance to github.com/dirname/binance

Fix WS reconnect ticker

17 Apr 13:41
Compare
Choose a tag to compare
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

16 Apr 04:27
Compare
Choose a tag to compare
  • Add declaration and setting of WS time element
  • Improve code coverage
  • Add WS account streams
  • Add listenKey constructor

Fixed order builder bug

14 Apr 11:32
Compare
Choose a tag to compare

Repair market order parameter constructor