Drop fast chart buffer to 2 days worth

pre_multi_feedz
Tyler Goodlet 2022-11-02 13:51:39 -04:00
parent 5d4929db9c
commit b11dfbb008
1 changed files with 2 additions and 2 deletions

View File

@ -746,12 +746,12 @@ async def manage_history(
# we expect the sub-actor to write
readonly=False,
size=4*_secs_in_day,
size=3*_secs_in_day,
)
# (for now) set the rt (hft) shm array with space to prepend
# only a few days worth of 1s history.
days = 3
days = 2
start_index = days*_secs_in_day
rt_shm._first.value = start_index
rt_shm._last.value = start_index