@@ -2960,15 +2960,15 @@ def _get_trade_pagination_next_value(self, trades: list[dict]):
29602960 return trades [- 1 ].get ("timestamp" )
29612961
29622962 async def _async_get_trade_history_id_startup (
2963- self , pair : str , since : int | None
2963+ self , pair : str , since : int
29642964 ) -> tuple [list [list ], str ]:
29652965 """
29662966 override for initial trade_history_id call
29672967 """
29682968 return await self ._async_fetch_trades (pair , since = since )
29692969
29702970 async def _async_get_trade_history_id (
2971- self , pair : str , until : int , since : int | None = None , from_id : str | None = None
2971+ self , pair : str , * , until : int , since : int , from_id : str | None = None
29722972 ) -> tuple [str , list [list ]]:
29732973 """
29742974 Asynchronously gets trade history using fetch_trades
@@ -3022,7 +3022,7 @@ async def _async_get_trade_history_id(
30223022 return (pair , trades )
30233023
30243024 async def _async_get_trade_history_time (
3025- self , pair : str , until : int , since : int | None = None
3025+ self , pair : str , until : int , since : int
30263026 ) -> tuple [str , list [list ]]:
30273027 """
30283028 Asynchronously gets trade history using fetch_trades,
@@ -3063,7 +3063,7 @@ async def _async_get_trade_history_time(
30633063 async def _async_get_trade_history (
30643064 self ,
30653065 pair : str ,
3066- since : int | None = None ,
3066+ since : int ,
30673067 until : int | None = None ,
30683068 from_id : str | None = None ,
30693069 ) -> tuple [str , list [list ]]:
@@ -3094,7 +3094,7 @@ async def _async_get_trade_history(
30943094 def get_historic_trades (
30953095 self ,
30963096 pair : str ,
3097- since : int | None = None ,
3097+ since : int ,
30983098 until : int | None = None ,
30993099 from_id : str | None = None ,
31003100 ) -> tuple [str , list ]:
0 commit comments