Skip to main content

Auto Execution for Portfolios

The Auto Execution allows users to automatically activate specific portfolios based on selected days of the week or DTE (Days to Expiry) before the market opens. This feature is designed to streamline and automate strategy execution for intraday and BTST setups.

  • Applicable To: Portfolios only (not individual strategies).
  • Supported Strategy Types:
    • Intraday & BTST
  • Auto Execution is currently available in Forward Test too.
  • Excluded: Positional strategies will be ignored by this feature.

How It Works​

  • Step 1: To create strategy or update the auto execution setting, go to Backtest --> Portfolios

Auto Execution on AlgoTest

  • Step 2: Select the portfolio you want to update the settings

Auto Execution on AlgoTest

  • Step 3: Setup your portfolio execution based on DTE or weekdays

Auto Execution on AlgoTest

  • Step 4: Once done, move forward to enable auto execution in Algo Trade.

  • Go to Algo Trade from the dashboard

Auto Execution on AlgoTest

  • Select the portfolio from the given tabs:

Auto Execution on AlgoTest

  • Here you can see the option to Enable Auto Execution

Auto Execution on AlgoTest

  • Once you click on Enable Auto Execution, you'll find the option to select the broker and edit execution settings

Auto Execution on AlgoTest

  • To trade a portfolio live, you must check the box shown below the broker selection while setting up.

  • Once you are done with all the changes, you can click on the Enable Auto Execution

Auto Execution on AlgoTest

Additional Notes on Auto Execution​

  • You cannot make any changes (like days or quantity multiplier) once Auto Execution is enabled.
    • Only execution settings can be modified.

If we click on the highlighted section:

Auto Execution on AlgoTest

We get the screen where we can only execution settings can be modified shown below:

Auto Execution on AlgoTest

  • If you want to change portfolio details such as days or multipliers, use Edit Portfolios.

Step 1: Click on edit portfolios:

Auto Execution on AlgoTest

Step 2: The below screen will be shown:

Auto Execution on AlgoTest

  • To disable Auto Execution, you can directly do it from the Algo Trade dashboard.

Auto Execution on AlgoTest

  • You need to log in to your broker every morning to ensure execution works correctly.

    • If your portfolio is set to start at 9:40 AM but you log in at 11:00 AM, execution will not begin that day. To make sure execution starts, you have to login to your broker account(s) before 09:15 AM.
  • If you are running the same portfolio across multiple brokers, you need to log in to each broker account.

    • Execution will start broker-wise as soon as you log in.
    • Let's say, you want to run the portfolio across 3 brokers but you have logged in to only 2 out of 3 brokers, execution will run for those 2 brokers. Once you log in to the 3rd broker, execution will start for that broker as well.
  • Pricing: If the number of strategies allowed by your pricing plan is less than the total strategies in your portfolio at deployment, only up to your plan limit will start. The remaining strategies will not be started.

Example: Your pricing plan allows 5 strategies, but your portfolio has 7 strategies configured. When you try to execute, the system will only run 5 strategies.

  • For Forward Test, the auto execution is not dependent on the broker login. It will trigger as you scheduled.
  • You will receive an Auto Execution summary once the strategy is live, delivered to your registered contact address.

Auto Execution on AlgoTest

Handling DTE (Days to Expiry)​

If you set a DTE = 10 for an index with monthly expiry, the system will automatically align it to the correct weekday.

  • This means your portfolio will run on that weekday for the given month.

Example Suppose you set DTE = 10 for BANKNIFTY monthly expiry:

  • The system calculates the 10th day before expiry β†’ let’s say it falls on a Wednesday.
  • Your portfolio will now run on Wednesday for that expiry month.

Use Cases​

ScenarioConfiguration
You want your intraday Nifty and BankNifty portfolio to run every Monday and ThursdaySet Days: Monday, Thursday
You want your BTST strategies to start 1 day before expirySet DTE: 1 DTE
You want to skip positional strategies from auto-startNo action needed, handled automatically by the system

Notes:​

  • This setting is managed at the portfolio level.
  • You can apply auto execution rules to multiple portfolios independently.
  • DTE-based activation is particularly useful for weekly expiry-based strategies.