Skip to content

Commit

Permalink
0.9.29 fix bug (waditu#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
zengbin93 committed Sep 11, 2023
1 parent da86241 commit e63007e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion czsc/traders/dummy.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ def one_symbol_dummy(self, symbol):

dfh = pd.DataFrame(pos.holds)
dfh['n1b'] = (dfh['price'].shift(-1) / dfh['price'] - 1) * 10000
dfh.drop(columns=['bid'], inplace=True)
dfh.fillna(0, inplace=True)
dfh['symbol'] = pos.symbol
dfh.to_parquet(file_holds)
Expand Down

0 comments on commit e63007e

Please sign in to comment.