-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Description
The code below does not contain any information about the crypto pair price in CryptoEnv class at all. Is there any reason for that?
In StockTradingEnv it does.
def get_state(self):
state = np.hstack((self.cash * 2 ** -18, self.stocks * 2 ** -3))
for i in range(self.lookback):
tech_i = self.tech_array[self.time-i]
normalized_tech_i = tech_i * 2 ** -15
state = np.hstack((state, normalized_tech_i)).astype(np.float32)
return state
Metadata
Metadata
Assignees
Labels
No labels