mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-08 23:16:54 +00:00
CI: Bump go version, linters and fix minor issues (#1130)
* CI: Bump go version, linters and fix minor issues * Bump version, fix loop variables * Revert * Rid TODOs now that 1.51 has been released
This commit is contained in:
@@ -905,7 +905,7 @@ func (h *HUOBI) FGetOpenOrders(ctx context.Context, symbol currency.Code, pageIn
|
||||
return resp, h.FuturesAuthenticatedHTTPRequest(ctx, exchange.RestFutures, http.MethodPost, fQueryOpenOrders, nil, req, &resp)
|
||||
}
|
||||
|
||||
// FGetOrderHistory gets order order history for futures
|
||||
// FGetOrderHistory gets order history for futures
|
||||
func (h *HUOBI) FGetOrderHistory(ctx context.Context, contractCode currency.Pair, symbol, tradeType, reqType, orderType string, status []order.Status, createDate, pageIndex, pageSize int64) (FOrderHistoryData, error) {
|
||||
var resp FOrderHistoryData
|
||||
req := make(map[string]interface{})
|
||||
|
||||
@@ -568,7 +568,7 @@ type Trade struct {
|
||||
Timestamp int64 `json:"ts"`
|
||||
}
|
||||
|
||||
// TradeHistory stores the the trade history data
|
||||
// TradeHistory stores the trade history data
|
||||
type TradeHistory struct {
|
||||
ID int64 `json:"id"`
|
||||
Timestamp int64 `json:"ts"`
|
||||
|
||||
Reference in New Issue
Block a user