Usage#

Installation#

To use AlphaTrade, first install it using pip:

(.venv) $ pip install gym_exchange

Creating recipes#

To retrieve a list of random ingredients, you can use the gym_exchange.make() function:

The kind parameter should be either "meat", "fish", or "veggies". Otherwise, gym_exchange.make() will raise an exception.

For example:

>>> import gym_exchange
>>> gym_exchange.make()

[‘shells’, ‘gorgonzola’, ‘parsley’]