FreqtradeConfig#

API documentation for tradeexecutor.strategy.freqtrade.config.FreqtradeConfig Python class in Trading Strategy framework.

class FreqtradeConfig[source]#

Bases: object

Configuration for one Freqtrade instance.

Each Freqtrade bot instance gets its own configuration specifying how to connect and interact with it.

Freqtrade uses JWT-based authentication. See: https://www.freqtrade.io/en/stable/rest-api/#advanced-api-usage-using-jwt-tokens

__init__(freqtrade_id, api_url, api_username, api_password, exchange_name, reserve_currency, exchange=None)#
Parameters:
Return type:

None

Methods

__init__(freqtrade_id, api_url, ...[, exchange])

Attributes

freqtrade_id

Unique identifier for this Freqtrade instance

api_url

Base URL of Freqtrade API (e.g., "http://localhost:8080")

api_username

Username for JWT authentication

api_password

Password for JWT authentication

exchange_name

Exchange name (e.g., "aster", "modetrade")

reserve_currency

Reserve currency token address (USDT, USDC contract address) Used for on-chain deposits and withdrawals

exchange

Exchange configuration for deposits and withdrawals

freqtrade_id: str#

Unique identifier for this Freqtrade instance

api_url: str#

Base URL of Freqtrade API (e.g., “http://localhost:8080”)

api_username: str#

Username for JWT authentication

api_password: str#

Password for JWT authentication

exchange_name: str#

Exchange name (e.g., “aster”, “modetrade”)

reserve_currency: str#

Reserve currency token address (USDT, USDC contract address) Used for on-chain deposits and withdrawals

exchange: tradeexecutor.strategy.freqtrade.config.OnChainTransferExchangeConfig | tradeexecutor.strategy.freqtrade.config.AsterExchangeConfig | tradeexecutor.strategy.freqtrade.config.HyperliquidExchangeConfig | tradeexecutor.strategy.freqtrade.config.OrderlyExchangeConfig | None#

Exchange configuration for deposits and withdrawals

__init__(freqtrade_id, api_url, api_username, api_password, exchange_name, reserve_currency, exchange=None)#
Parameters:
Return type:

None