Removed params from _get_mark_price_history
This commit is contained in:
parent
02ab3b1697
commit
a4892654da
@ -1738,24 +1738,16 @@ class Exchange:
|
|||||||
def _get_mark_price_history(
|
def _get_mark_price_history(
|
||||||
self,
|
self,
|
||||||
pair: str,
|
pair: str,
|
||||||
start: int,
|
start: int
|
||||||
end: Optional[int]
|
|
||||||
) -> Dict:
|
) -> Dict:
|
||||||
"""
|
"""
|
||||||
Get's the mark price history for a pair
|
Get's the mark price history for a pair
|
||||||
"""
|
"""
|
||||||
if end:
|
|
||||||
params = {
|
|
||||||
'until': end
|
|
||||||
}
|
|
||||||
else:
|
|
||||||
params = {}
|
|
||||||
|
|
||||||
candles = self._api.fetch_mark_ohlcv(
|
candles = self._api.fetch_mark_ohlcv(
|
||||||
pair,
|
pair,
|
||||||
timeframe="1h",
|
timeframe="1h",
|
||||||
since=start,
|
since=start
|
||||||
params=params
|
|
||||||
)
|
)
|
||||||
history = {}
|
history = {}
|
||||||
for candle in candles:
|
for candle in candles:
|
||||||
|
Loading…
Reference in New Issue
Block a user