Use datetime | none instead of Optional[datetime] in get_bars

small_kucoin_fixes
jaredgoldman 2023-04-13 22:04:43 -04:00
parent ebfd490a1a
commit 11bd2e2f65
1 changed files with 2 additions and 2 deletions

View File

@ -317,8 +317,8 @@ class Client:
async def _get_bars(
self,
fqsn: str,
start_dt: Optional[datetime] = None,
end_dt: Optional[datetime] = None,
start_dt: datetime | None = None,
end_dt: datetime | None = None,
limit: int = 1000,
as_np: bool = True,
type: str = '1min',