Removed params from _get_mark_price_history

This commit is contained in:
Sam Germain 2021-10-29 19:37:02 -06:00
parent 02ab3b1697
commit a4892654da

View File

@ -1738,24 +1738,16 @@ class Exchange:
def _get_mark_price_history(
self,
pair: str,
start: int,
end: Optional[int]
start: int
) -> Dict:
"""
Get's the mark price history for a pair
"""
if end:
params = {
'until': end
}
else:
params = {}
candles = self._api.fetch_mark_ohlcv(
pair,
timeframe="1h",
since=start,
params=params
since=start
)
history = {}
for candle in candles: