Skip to content
Advertisement

Tag: openai-gym

How to define an array of action spaces?

I am trying to create a crypto trading bot that can trade multiple crypto coins simulatenously. So for example if I have n=4 coins (e.g. : 0-BTC, 1-ETH, 2-DOT, 3-SOL), then an example of action space would be something like: Where: BUY if action > 0 HOLD if action == 0 Sell if action < 0 So, in the given

OpenAI Gym: Walk through all possible actions in an action space

I want to build a brute-force approach that tests all actions in a Gym action space before selecting the best one. Is there any simple, straight-forward way to get all possible actions? Specifically, my action space is I know I can sample a random action with action_space.sample() and also check if an action is contained in the action space, but

Advertisement