tensortrade.slippage package

tensortrade.slippage.get(identifier)[source]

Gets the SlippageModel that matches with the identifier.

Parameters

identifier (str) – The identifier for the SlippageModel

Raises

KeyError – if identifier is not associated with any SlippageModel

Return type

SlippageModel