<filename>Pipeline/main/Deploy/lib/StressTest.py
from Pipeline.main.Deploy.Run import Run
import logging


stratParams = {
    "stratName": "stressTest",
    "isLive": False,
    "initialCapital": 1,
    "positionSizeParams": {"name": "Basic", "percent": 0.05},
    "assetSelectionParams": {
        "name": "All",
        "exchangeList": ["Binance"],
        "baseAsset": "BTC",
    },
    "enterParams": {
        "name": "CheapVol",
        "granularity": 300,
        "periodsVolLong": 50,
        "periodsVolShort": 5,
        "periodsMA": 30,
        "volCoef": 1.2,
        "bolStd": 2,
    },
    "exitParams": {
        "name": "ProfitRun",
        "granularity": 300,
        "maPeriods": 600,
        "stdDict": {"up": 1, "down": 1.5},
        "closePeriods": 50,
    },
    "loggingParams": {"console": logging.DEBUG, "file": logging.INFO},
    "schedule": {
        "enter": {"minute": "1,6,11,16,21,26,31,36,41,46,51,56"},  # 1 hour ahead
        "exit": {"minute": "10, 40"},
        "email": {"hour": "5, 13, 21", "minute": "50"},
    },
}

Run(stratParams=stratParams)

<filename>Pipeline/main/Deploy/lib/StressTest.py
from Pipeline.main.Deploy.Run import Run
import logging


stratParams = {
    "stratName": "stressTest",
    "isLive": False,
    "initialCapital": 1,
    "positionSizeParams": {"name": "Basic", "percent": 0.05},
    "assetSelectionParams": {
        "name": "All",
        "exchangeList": ["Binance"],
        "baseAsset": "BTC",
    },
    "enterParams": {
        "name": "CheapVol",
        "granularity": 300,
        "periodsVolLong": 50,
        "periodsVolShort": 5,
        "periodsMA": 30,
        "volCoef": 1.2,
        "bolStd": 2,
    },
    "exitParams": {
        "name": "ProfitRun",
        "granularity": 300,
        "maPeriods": 600,
        "stdDict": {"up": 1, "down": 1.5},
        "closePeriods": 50,
    },
    "loggingParams": {"console": logging.DEBUG, "file": logging.INFO},
    "schedule": {
        "enter": {"minute": "1,6,11,16,21,26,31,36,41,46,51,56"},  # 1 hour ahead
        "exit": {"minute": "10, 40"},
        "email": {"hour": "5, 13, 21", "minute": "50"},
    },
}

Run(stratParams=stratParams)

# 1 hour ahead