tensortrade.exchanges.services.slippage package

tensortrade.exchanges.services.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