fix docstring

This commit is contained in:
robcaulk 2022-11-24 18:46:54 +01:00
parent 8855e36f57
commit 3a07749fcc

View File

@ -166,14 +166,14 @@ class BaseReinforcementLearningModel(IFreqaiModel):
def get_state_info(self, pair: str) -> Tuple[float, float, int]: def get_state_info(self, pair: str) -> Tuple[float, float, int]:
""" """
State info during dry/live/backtesting which is fed back State info during dry/live (not backtesting) which is fed back
into the model. into the model.
:param: :param pair: str = COIN/STAKE to get the environment information for
pair: str = COIN/STAKE to get the environment information for :return:
:returns: :market_side: float = representing short, long, or neutral for
market_side: float = representing short, long, or neutral for
pair pair
trade_duration: int = the number of candles that the trade has :current_profit: float = unrealized profit of the current trade
:trade_duration: int = the number of candles that the trade has
been open for been open for
""" """
open_trades = Trade.get_trades_proxy(is_open=True) open_trades = Trade.get_trades_proxy(is_open=True)