Skip to content

Commit

Permalink
change argument name for BaseCommission
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricporter committed Aug 12, 2016
1 parent 13edc82 commit e2b9010
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rqalpha/analyser/commission.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@

class BaseCommission(with_metaclass(abc.ABCMeta)):
@abc.abstractmethod
def get_commission(self, data_proxy, order):
def get_commission(self, order, trade):
"""get commission
:param order:
:param trade:
:returns: commission for current trade
:rtype: float
"""
raise NotImplementedError


Expand Down

0 comments on commit e2b9010

Please sign in to comment.