def update_setting(self, setting: dict):
    '\n        Update strategy parameter wtih value in setting dict.\n        '
    for name in self.parameters:
        if (name in setting):
            setattr(self, name, setting[name])
Update strategy parameter wtih value in setting dict.
def update_setting(self, setting: dict):
    '\n        \n        '
    for name in self.parameters:
        if (name in setting):
            setattr(self, name, setting[name])