class_docstr: State Interpreter that interpret execution result of qlib executor into rl env state
class_docstr_tok: ["State","Interpreter","that","interpret","execution","result","of","qlib","executor","into","rl","env","state"]
docstr: Interpret the state of simulator.
  
  Parameters
  ----------
  simulator_state
      Retrieved with ``simulator.get_state()``.
  
  Returns
  -------
  State needed by policy. Should conform with the state space defined in ``observation_space``.
docstr_tok: ["Interpret","the","state","of","simulator",".","Parameters","--","--","--","--","--","simulator_state","Retrieved","with","``","simulator.get_state","(",")","``",".","Returns","--","--","--","-","State","needed","by","policy",".","Should","conform","with","the","state","space","defined","in","``","observation_space","``","."]
code: def interpret(self, simulator_state: StateType) -> ObsType:
      """Interpret the state of simulator.
  
      Parameters
      ----------
      simulator_state
          Retrieved with ``simulator.get_state()``.
  
      Returns
      -------
      State needed by policy. Should conform with the state space defined in ``observation_space``.
      """
      raise NotImplementedError("interpret is not implemented!")
  
imports: from __future__ import annotations
  from typing import Any, Generic, TypeVar
  import gym
  import numpy
  from gym import spaces
  from qlib.typehint import final
  from .simulator import ActType, StateType
label_desc: Use image node_id 4 for calling the StateInterpreter obj's underlying member method code with example usage: obj.interpret(simulator_state) without return types