Skip to content

Commit

Permalink
pr update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin-Dongzhao committed Mar 19, 2024
1 parent 3f1e7a8 commit ddcc5ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rqalpha/data/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,6 @@ def _get_array(self, instrument, start_date):

dt = np.array(df.index.tolist())
trading_dt = self._env.data_proxy._data_source.get_trading_date_for_np(dt)
# trading_dt = trading_dt.year * 10000 + trading_dt.month * 100 + trading_dt.day
trading_dt = convert_date_to_date_int(trading_dt)
arr = np.ones((trading_dt.shape[0], ), dtype=dtype)
arr['trading_dt'] = trading_dt
Expand Down

0 comments on commit ddcc5ec

Please sign in to comment.