Use datetime | none instead of Optional[datetime] in get_bars
parent
ebfd490a1a
commit
11bd2e2f65
|
@ -317,8 +317,8 @@ class Client:
|
||||||
async def _get_bars(
|
async def _get_bars(
|
||||||
self,
|
self,
|
||||||
fqsn: str,
|
fqsn: str,
|
||||||
start_dt: Optional[datetime] = None,
|
start_dt: datetime | None = None,
|
||||||
end_dt: Optional[datetime] = None,
|
end_dt: datetime | None = None,
|
||||||
limit: int = 1000,
|
limit: int = 1000,
|
||||||
as_np: bool = True,
|
as_np: bool = True,
|
||||||
type: str = '1min',
|
type: str = '1min',
|
||||||
|
|
Loading…
Reference in New Issue