class_docstr: An abstract base class for reward schemes for the default environment.
      
class_docstr_tok: ["An","abstract","base","class","for","reward","schemes","for","the","default","environment","."]
code: def reward(self, env: "TradingEnv") -> float:
      return self.get_reward(env.action_scheme.portfolio)
  
imports: from abc import abstractmethod
  import numpy
  import pandas
  from tensortrade.env.generic import RewardScheme, TradingEnv
  from tensortrade.feed.core import Stream, DataFeed
  import math
label_desc: Use image node_id 1 for calling the TensorTradeRewardScheme obj's underlying member method code with example usage: obj.reward(env) and returns: self