Skip to content

Commit

Permalink
Fix BaseRewardStrategy inheritance.
Browse files Browse the repository at this point in the history
  • Loading branch information
notadamking committed Jul 6, 2019
1 parent f06dd8f commit 2422f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/env/reward/BaseRewardStrategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@


class BaseRewardStrategy(object, metaclass=ABCMeta):
@abstractmethod
@staticmethod
@abstractmethod
def get_reward(observations: pd.DataFrame,
account_history: pd.DataFrame,
net_worths: List[float],
Expand Down
2 changes: 1 addition & 1 deletion lib/env/reward/IncrementalProfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from typing import List

from lib.env.reward import BaseRewardStrategy
from lib.env.reward.BaseRewardStrategy import BaseRewardStrategy


class IncrementalProfit(BaseRewardStrategy):
Expand Down

0 comments on commit 2422f03

Please sign in to comment.