We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f46b9 commit a049d6eCopy full SHA for a049d6e
freqtrade/rpc/api_server/api_schemas.py
@@ -229,6 +229,7 @@ class ShowConfig(BaseModel):
229
api_version: float
230
dry_run: bool
231
trading_mode: str
232
+ margin_mode: str
233
short_allowed: bool
234
stake_currency: str
235
stake_amount: str
freqtrade/rpc/rpc.py
@@ -136,6 +136,7 @@ def _rpc_show_config(
136
"strategy_version": strategy_version,
137
"dry_run": config["dry_run"],
138
"trading_mode": config.get("trading_mode", "spot"),
139
+ "margin_mode": config.get("margin_mode", ""),
140
"short_allowed": config.get("trading_mode", "spot") != "spot",
141
"stake_currency": config["stake_currency"],
142
"stake_currency_decimals": decimals_per_coin(config["stake_currency"]),
0 commit comments