def getPositionAmountSeries(self, dts=None, start_dt=None, end_dt=None): Data = self._PositionAmount[1:self._Model.DateTimeIndex + 2] return cutDateTime(Data, dts=dts, start_dt=start_dt, end_dt=end_dt)
def getPositionAmountSeries(self, dts=None, start_dt=None, end_dt=None): Data = pd.DataFrame( self._PositionAmount[1:self.QSEnv.STM.DateTimeIndex + 2], index=self.QSEnv.STM.DateTimeSeries, columns=self._IDs) return cutDateTime(Data, dts=dts, start_dt=start_dt, end_dt=end_dt)