mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
huobi futures: fix return type when fetching positions (#844)
This commit is contained in:
@@ -481,8 +481,8 @@ func (h *HUOBI) FGetAccountInfo(ctx context.Context, symbol currency.Code) (FUse
|
||||
}
|
||||
|
||||
// FGetPositionsInfo gets positions info for futures account
|
||||
func (h *HUOBI) FGetPositionsInfo(ctx context.Context, symbol currency.Code) (FUserAccountData, error) {
|
||||
var resp FUserAccountData
|
||||
func (h *HUOBI) FGetPositionsInfo(ctx context.Context, symbol currency.Code) (FUsersPositionsInfo, error) {
|
||||
var resp FUsersPositionsInfo
|
||||
req := make(map[string]interface{})
|
||||
if !symbol.IsEmpty() {
|
||||
codeValue, err := h.formatFuturesCode(symbol)
|
||||
|
||||
Reference in New Issue
Block a user