<filename>bot/models/Sizers/DefaultSizer.py
from models.Sizers.Sizer import Sizer as Sizer
import backtrader as bt
from dataclasses import dataclass
from dataclasses import field


@dataclass
class DefaultSizer(Sizer):
    """
    This is the default sizer used in Engine
    It's a PercentSizer, paremetered with 10%

    """
    sizer: bt.Sizer = bt.sizers.PercentSizer
    parameters: dict = field(default_factory=lambda: {"percents": 10})


<filename>bot/models/Sizers/DefaultSizer.py
from models.Sizers.Sizer import Sizer as Sizer
import backtrader as bt
from dataclasses import dataclass
from dataclasses import field


@dataclass
class DefaultSizer(Sizer):
    """
    This is the default sizer used in Engine
    It's a PercentSizer, paremetered with 10%

    """
    sizer: bt.Sizer = bt.sizers.PercentSizer
    parameters: dict = field(default_factory=lambda: {"percents": 10})


This is the default sizer used in Engine     It's a PercentSizer, paremetered with 10%