Skip to content

Commit

Permalink
fix bug: 成交记录中fill_price值始终为 entrust_price
Browse files Browse the repository at this point in the history
  • Loading branch information
jztxu committed Mar 28, 2018
1 parent 0adeaef commit d610999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaqs/trade/tradegateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ def _make_trade_bar(self, quote_dic):
continue

trade_ind = Trade(order)
trade_ind.set_fill_info(fill_price, order.entrust_size,
trade_ind.set_fill_info(fill_price, fill_size,
quote_date, quote_time,
self._next_fill_no(),
trade_date=quote.trade_date)
Expand Down

0 comments on commit d610999

Please sign in to comment.