Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin-Dongzhao committed Jul 18, 2024
1 parent e48904d commit 7a3900d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rqalpha/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _get_transaction_cost_decider(self, order_book_id):
def get_trade_tax(self, trade):
return self._get_transaction_cost_decider(trade.order_book_id).get_trade_tax(trade)

def get_stock_commission_and_tax(self) -> tuple[float, float]:
def get_stock_commission_and_tax(self):
decider = self._transaction_cost_decider_dict[INSTRUMENT_TYPE.CS]
return decider.commission_rate, decider.tax_rate

Expand Down

0 comments on commit 7a3900d

Please sign in to comment.