Skip to content

Commit 12565a2

Browse files
committed
fix test
1 parent 6d749c6 commit 12565a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binance/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ def get_avg_price(self, **params):
10751075
"price": "9.35751834"
10761076
}
10771077
"""
1078-
return self._get("avgPrice")
1078+
return self._get("avgPrice", data=params)
10791079

10801080
def get_ticker(self, **params):
10811081
"""24 hour price change statistics.
@@ -1136,7 +1136,7 @@ def get_ticker(self, **params):
11361136
:raises: BinanceRequestException, BinanceAPIException
11371137

11381138
"""
1139-
return self._get("ticker/24hr")
1139+
return self._get("ticker/24hr", data=params)
11401140

11411141
def get_symbol_ticker(self, **params):
11421142
"""Latest price for a symbol or symbols.

0 commit comments

Comments
 (0)