RAPTOR v18.4: Исправлена отчетность, активированы выходные
This commit is contained in:
16
invest-python-master/t_tech/invest/candle_getter_protocol.py
Normal file
16
invest-python-master/t_tech/invest/candle_getter_protocol.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from datetime import datetime
|
||||
from typing import Generator, Optional, Protocol
|
||||
|
||||
from t_tech.invest import CandleInterval, HistoricCandle
|
||||
|
||||
|
||||
class CandleGetter(Protocol):
|
||||
def get_all_candles( # pragma: no cover
|
||||
self,
|
||||
*,
|
||||
from_: datetime,
|
||||
to: Optional[datetime],
|
||||
interval: CandleInterval,
|
||||
figi: str,
|
||||
) -> Generator[HistoricCandle, None, None]:
|
||||
pass
|
||||
Reference in New Issue
Block a user