Add note about shm limit

chart_trader
Tyler Goodlet 2020-12-28 13:06:44 -05:00
parent b467e8fd8d
commit d7f80d8ddb
1 changed files with 1 additions and 2 deletions

View File

@ -622,8 +622,7 @@ async def fill_bars(
sym: str, sym: str,
first_bars: list, first_bars: list,
shm: 'ShmArray', # type: ignore # noqa shm: 'ShmArray', # type: ignore # noqa
count: int = 21, count: int = 21, # NOTE: any more and we'll overrun the underlying buffer
# count: int = 1,
) -> None: ) -> None:
"""Fill historical bars into shared mem / storage afap. """Fill historical bars into shared mem / storage afap.