[docs]@dataclassclassCurrentSchedule:"""Trading session info depending on current date and time Attributes: session: Current session info """session:TradingSchedule
[docs]@dataclassclassSecurity:"""Represents security Attributes: symbol: Security symbol description: Description of security """symbol:strdescription:str
[docs]@dataclassclassSecuritiesPage:"""Page of securities Attributes: trades: List of securities count: Total count of securities """trades:list[Security]count:int@propertydefsecurities(self)->list[Security]:""" Alias for returned list as API returns it as "trades". Should be used instead of "trades" attribute. Returns: List of securities """returnself.trades
[docs]@dataclassclassTradesPage:"""Represents one page of trades Attributes: trades: List of trades count: Total count of trades """trades:list[Trade]count:int