@@ -98,8 +98,7 @@ def _fill(self):
9898 figid = self ._client .get_figid ()
9999 lookback = self ._client .lookback
100100 fillgaps = self ._client .fillgaps
101- df = app .get_data (
102- figid = figid , back = lookback , fillgaps = fillgaps , preserveidx = True )
101+ df = app .get_data (figid = figid , back = lookback , fillgaps = fillgaps )
103102 self ._set_data (df )
104103 # init by calling set_cds_columns_from_df
105104 # after this, all cds will already contain data
@@ -177,15 +176,13 @@ def update(self):
177176 # if there is more new data then lookback length
178177 # don't load from last index but from end of data
179178 if (lastidx < 0 or lastavailidx - lastidx > (2 * lookback )):
180- data = app .get_data (
181- back = lookback , fillgaps = fillgaps , preserveidx = True )
179+ data = app .get_data (back = lookback , fillgaps = fillgaps )
182180 # if there is just some new data (less then lookback)
183181 # load from last index, so no data is skipped
184182 elif lastidx <= lastavailidx :
185183 startidx = max (0 , lastidx - 2 )
186184 start = data_clock .get_dt_at_idx (startidx )
187- data = app .get_data (
188- start = start , fillgaps = fillgaps , preserveidx = True )
185+ data = app .get_data (start = start , fillgaps = fillgaps )
189186 # if any new data was loaded
190187 if data is not None :
191188 self ._process_data (data )
0 commit comments