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,
first_bars: list,
shm: 'ShmArray', # type: ignore # noqa
count: int = 21,
# count: int = 1,
count: int = 21, # NOTE: any more and we'll overrun the underlying buffer
) -> None:
"""Fill historical bars into shared mem / storage afap.