MCPcopy
hub / github.com/microsoft/qlib / step

Method step

qlib/rl/simulator.py:57–63  ·  view source on GitHub ↗

Receives an action of ActType. Simulator should update its internal state, and return None. The updated state can be retrieved with ``simulator.get_state()``.

(self, action: ActType)

Source from the content-addressed store, hash-verified

55 pass
56
57 def step(self, action: ActType) -> None:
58 """Receives an action of ActType.
59
60 Simulator should update its internal state, and return None.
61 The updated state can be retrieved with ``simulator.get_state()``.
62 """
63 raise NotImplementedError()
64
65 def get_state(self) -> StateType:
66 raise NotImplementedError()

Callers 15

train_epochMethod · 0.45
train_epochMethod · 0.45
train_epochMethod · 0.45
train_epochMethod · 0.45
train_epochMethod · 0.45
train_epochMethod · 0.45
fitMethod · 0.45
fitMethod · 0.45
train_epochMethod · 0.45
train_epochMethod · 0.45
train_epochMethod · 0.45
pretrain_epochMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected