dex_data_translation#

API documentation for tradeexecutor.strategy.dex_data_translation Python module in Trading Strategy.

Module description#

Helper functions to translate Trading Strategy client data to trade executor data format.

Functions#

translate_credit_reserve(lending_reserve, ...)

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

translate_token(token[, require_decimals, ...])

Translate Trading Strategy token data definition to trade executor.

translate_trading_pair(dex_pair[, cache])

Translate trading pair from client download to the trade executor.