translate_credit_reserve#

API documentation for tradeexecutor.strategy.trading_strategy_universe.translate_credit_reserve Python function.

translate_credit_reserve(lending_reserve, strategy_reserve)[source]#

Translate lending protocol reserve from client download to the trade executor.

Parameters:
  • lending_reserve (LendingReserve) – Raw Token data from Trading Strategy Client

  • reverse – The trading universe reserve asset

  • strategy_reserve (AssetIdentifier) –

Return type:

TradingPairIdentifier