Add margin_mode to pairlists callback

This commit is contained in:
Matthias
2023-06-04 13:25:39 +02:00
parent f61ae9c7e2
commit 71b81ee7cd
4 changed files with 7 additions and 2 deletions

View File

@@ -4,12 +4,13 @@ from typing import Any, Dict, List, Optional, Union
from pydantic import BaseModel
from freqtrade.constants import DATETIME_PRINT_FORMAT, IntOrInf
from freqtrade.enums import OrderTypeValues, SignalDirection, TradingMode
from freqtrade.enums import MarginMode, OrderTypeValues, SignalDirection, TradingMode
from freqtrade.types import ValidExchangesType
class ExchangeModePayloadMixin(BaseModel):
trading_mode: Optional[TradingMode]
margin_mode: Optional[MarginMode]
exchange: Optional[str]