tensortrade.rewards package

tensortrade.rewards.get(identifier)[source]

Gets the RewardStrategy that matches with the identifier.

Parameters

identifier (str) – The identifier for the RewardStrategy

Raises

KeyError – if identifier is not associated with any RewardStrategy

Return type

RewardStrategy