Explore more topics
NexusTrade guide

Diversified Long-Term Strategy

Buy a diverse set of stocks and ETFs and hold them long-term

Jump to a section

TL;DR

This template repeatedly buys SPY, QQQ and five named stocks using percentages of available buying power, which are not target portfolio weights. Its March 2025 to March 2026 archive row returned 14.12% with 14.89% drawdown, but the paired SPY result and fees are unrecorded. None of the seven execution groups with recorded baseline outcomes had a positive median return difference. Keep the original basket and test inputs together, then inspect orders and drawdown rather than treating the diversified label as proof of superiority.

An archived result to compare with your first test

First recorded group: median return 14.12%, maximum drawdown 14.89%, SPY return unrecorded, from 1 submissions.
Returns use initial capital. Expand the archived inputs below to inspect the period, fees and benchmark.

Stored medians from the first archived setup. Expand its dates, capital, fees and benchmark below to compare the inputs with your own test.

A useful first experiment

Start with $10,000.00 and the period 2025-03-16 through 2026-03-17. Keep the template unchanged for your first test.

  1. 1. Open the template

    Select the library button, inspect the rules and choose Use template. Keep the original assets, conditions and action amounts.

  2. 2. Set up one test

    Open the backtester, enter the dates and capital above, and save the interval, fees and benchmark you select alongside the result.

  3. 3. Read the completed result

    Compare return and drawdown with the benchmark, then inspect the orders and costs. If no orders occur, check the conditions and data coverage.

  4. 4. Try one change

    Keep your first configuration as a reference. Change one threshold or allocation and test a separate period before considering paper trading.

What to learn from this recipe

Count the named assets and inspect their purchase amounts. Follow their holdings during a drawdown, and keep the basket fixed when testing a different period.

Explore the recorded comparisons

7 of 18 execution groups have recorded paired baseline outcomes. 0 of those 7 groups have a positive median return difference against their recorded baseline. Inspect each group's dates, assets and costs alongside those outcomes.

The lowest group median was 4.34% over 2025-06-26 through 2026-06-27, with $72.08 initial test capital. Inspect that period alongside the positive rows before choosing this template.

The table preserves the stored Sharpe values and records each group's risk-free input separately. Use those fields when comparing runs.

Existing backtests of these exact recorded rules

Recorded matching execution-group median returns with every period represented
One dot per matching recorded execution group. This is an outcome distribution, not an equity curve or a confidence interval.

We matched this public template's complete ordered conditions and actions to the existing September archive. 18 recorded execution groups match its thresholds, indicator operands, assets and allocations. No new backtest was created for this page.

Every matching recorded period appears below, including losses. Each row groups repeated submissions with the same recorded dates, tickers, capital, fees, cadence, interval, baseline and risk-free input. Median outcomes and their range describe those submissions; repeated copies are not independent experiments.

The first group records Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.340000152587891. Save your chosen settings alongside a new run, including any field shown as unrecorded in the archive.

To inspect your completed run, follow rule activation, order execution, fractional quantities and dividend entries in the events. Keep those settings with the result when comparing another version.

All recorded periods and execution inputs

Scale: 0 to 10K USD · zero baseline

Initial test capital

  • 2025-03-16 to 2026-03-17$10000.00
  • 2025-03-21 to 2026-03-22$10000.00
  • 2025-03-24 to 2026-03-25$10000.00
  • 2025-03-26 to 2026-03-27$10000.00
  • 2025-04-09 to 2026-04-10$10000.00
  • 2025-04-23 to 2026-04-24$10000.00
  • 2025-04-25 to 2026-04-26$10000.00
  • 2025-04-29 to 2026-04-30$10000.00
  • 2025-05-04 to 2026-05-05$85.01
  • 2025-05-10 to 2026-05-11$86.20
  • 2025-05-23 to 2026-05-24$85.48
  • 2025-06-02 to 2026-06-03$83.69

Showing 12 of 18 recorded values. The complete table is below.

Scale: 0 to 1 · zero baseline

Submissions

  • 2025-03-16 to 2026-03-171
  • 2025-03-21 to 2026-03-221
  • 2025-03-24 to 2026-03-251
  • 2025-03-26 to 2026-03-271
  • 2025-04-09 to 2026-04-101
  • 2025-04-23 to 2026-04-241
  • 2025-04-25 to 2026-04-261
  • 2025-04-29 to 2026-04-301
  • 2025-05-04 to 2026-05-051
  • 2025-05-10 to 2026-05-111
  • 2025-05-23 to 2026-05-241
  • 2025-06-02 to 2026-06-031

Showing 12 of 18 recorded values. The complete table is below.

Scale: 0 to 1.22 · zero baseline

Median Sharpe

  • 2025-03-16 to 2026-03-170.51
  • 2025-03-21 to 2026-03-220.39
  • 2025-03-24 to 2026-03-250.27
  • 2025-03-26 to 2026-03-270.14
  • 2025-04-09 to 2026-04-101.11
  • 2025-04-23 to 2026-04-241.22
  • 2025-04-25 to 2026-04-261.20
  • 2025-04-29 to 2026-04-301.12
  • 2025-05-04 to 2026-05-050.83
  • 2025-05-10 to 2026-05-110.79
  • 2025-05-23 to 2026-05-240.86
  • 2025-06-02 to 2026-06-030.88

Showing 12 of 18 recorded values. The complete table is below.

Scale: 0 to 18.46 % · zero baseline

Median drawdown

  • 2025-03-16 to 2026-03-1714.89%
  • 2025-03-21 to 2026-03-2214.92%
  • 2025-03-24 to 2026-03-2514.89%
  • 2025-03-26 to 2026-03-2716.25%
  • 2025-04-09 to 2026-04-1018.29%
  • 2025-04-23 to 2026-04-2418.46%
  • 2025-04-25 to 2026-04-2618.32%
  • 2025-04-29 to 2026-04-3018.27%
  • 2025-05-04 to 2026-05-0517.90%
  • 2025-05-10 to 2026-05-1117.78%
  • 2025-05-23 to 2026-05-2417.73%
  • 2025-06-02 to 2026-06-0317.63%

Showing 12 of 18 recorded values. The complete table is below.

Inspect every archived period and input

Scroll sideways to compare all columns. Select a heading to sort.

2025-03-16 to 2026-03-17$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.340000152587891114.12% / 14.12% to 14.12%0.5114.89%SPY / Unrecorded (0/1 records)
2025-03-21 to 2026-03-22$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.329999923706055111.12% / 11.12% to 11.12%0.3914.92%SPY / Unrecorded (0/1 records)
2025-03-24 to 2026-03-25$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.32999992370605518.05% / 8.05% to 8.05%0.2714.89%SPY / Unrecorded (0/1 records)
2025-03-26 to 2026-03-27$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.32999992370605515.08% / 5.08% to 5.08%0.1416.25%SPY / Unrecorded (0/1 records)
2025-04-09 to 2026-04-10$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.349999904632568128.71% / 28.71% to 28.71%1.1118.29%SPY / Unrecorded (0/1 records)
2025-04-23 to 2026-04-24$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.329999923706055126.50% / 26.50% to 26.50%1.2218.46%SPY / Unrecorded (0/1 records)
2025-04-25 to 2026-04-26$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.320000171661377125.76% / 25.76% to 25.76%1.2018.32%SPY / Unrecorded (0/1 records)
2025-04-29 to 2026-04-30$10000.00Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.309999942779541124.10% / 24.10% to 24.10%1.1218.27%SPY / Unrecorded (0/1 records)
2025-05-04 to 2026-05-05$85.01Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.329999923706055117.64% / 17.64% to 17.64%0.8317.90%SPY / 27.76% (1/1 records)
2025-05-10 to 2026-05-11$86.20Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.420000076293945116.55% / 16.55% to 16.55%0.7917.78%SPY / Unrecorded (0/1 records)
2025-05-23 to 2026-05-24$85.48Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.360000133514404117.78% / 17.78% to 17.78%0.8617.73%SPY / Unrecorded (0/1 records)
2025-06-02 to 2026-06-03$83.69Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.440000057220459118.11% / 18.11% to 18.11%0.8817.63%SPY / Unrecorded (0/1 records)
2025-06-13 to 2026-06-14$84.44Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.44999980926513719.47% / 9.47% to 9.47%0.3916.97%SPY / 24.98% (1/1 records)
2025-06-17 to 2026-06-18$83.42Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.42000007629394518.45% / 8.45% to 8.45%0.3216.82%SPY / 24.50% (1/1 records)
2025-06-21 to 2026-06-22$75.12Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.380000114440918110.52% / 10.52% to 10.52%0.4516.87%SPY / 26.67% (1/1 records)
2025-06-24 to 2026-06-25$72.60Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.38000011444091815.17% / 5.17% to 5.17%0.1316.85%SPY / 22.31% (1/1 records)
2025-06-26 to 2026-06-27$72.08Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.38999986648559614.34% / 4.34% to 4.34%0.0716.80%SPY / 21.37% (1/1 records)
2025-07-17 to 2026-07-18$73.01Day/daily; equity; COST, LOW, META, MSFT, ORCL, QQQ, SPY; stock fee unrecorded; crypto fee unrecorded; recorded risk-free 4.40999984741210915.14% / 5.14% to 5.14%0.1216.52%SPY / 21.38% (1/1 records)

Returns use initial test capital and are not annualized. Compare the recorded periods, assets, capital and costs before choosing rows for your experiment. Baseline values appear where recorded; expand a completed run's trade events to inspect order counts and execution details.

Rule summary

  1. Buy 30% of the available cash in SPY every trading day.

    Buy SPY

  2. Buy 20% of the available cash in QQQ every trading day.

    Buy QQQ

  3. Buy 15% of the available cash in META every trading day.

    Buy META

  4. Buy 15% of the available cash in MSFT every trading day.

    Buy MSFT

  5. Buy 7.5% of the available cash in LOW every trading day.

    Buy LOW

  6. Buy 7.5% of the available cash in COST every trading day.

    Buy COST

  7. Buy 5% of the available cash in ORCL every trading day.

    Buy ORCL

What this recipe does

Buy a diverse set of stocks and ETFs and hold them long-term

A percent of buying power uses the available buying power when that action runs. It is not a target weight in the whole portfolio. Check each condition and the evaluation interval: an Always condition can buy again on later evaluations while buying power remains.

Exact strategy rules

Inspect the saved rule definitions

These are the library's saved rule definitions. Open the recipe in the library to use it. Expand this record to inspect its conditions, assets, sizing and actions.

JSON
View complete record
[
  {
    "_id": "6acba50c8b26bd179f7bb59c",
    "name": "Buy 30% of the available cash in SPY every trading day.",
    "userId": null,
    "active": true,
    "condition": {
      "lhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "rhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "name": "always",
      "_id": "6acba50c924a97c03b07e3b9",
      "comparison": "equal",
      "type": "Base",
      "description": "Left-Hand indicator (comparator) Right-Hand Indicator",
      "example": "If the Rate of Change of Apple's price is > the Value 0."
    },
    "createdAt": "2026-10-11T15:02:36.431Z",
    "action": {
      "type": "Buy",
      "targetAsset": {
        "name": "SPY",
        "type": "Stock",
        "symbol": "SPY"
      },
      "amount": {
        "type": "percent of buying power",
        "amount": 30
      }
    },
    "orderExecution": {
      "type": "Market"
    },
    "automaticOrderApproval": false
  },
  {
    "_id": "6acba50c8b26bd179f7bb59e",
    "name": "Buy 20% of the available cash in QQQ every trading day.",
    "userId": null,
    "active": true,
    "condition": {
      "lhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "rhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "name": "always",
      "_id": "6acba50c30dd3eea43b1e939",
      "comparison": "equal",
      "type": "Base",
      "description": "Left-Hand indicator (comparator) Right-Hand Indicator",
      "example": "If the Rate of Change of Apple's price is > the Value 0."
    },
    "createdAt": "2026-10-11T15:02:36.431Z",
    "action": {
      "type": "Buy",
      "targetAsset": {
        "name": "QQQ",
        "type": "Stock",
        "symbol": "QQQ"
      },
      "amount": {
        "type": "percent of buying power",
        "amount": 20
      }
    },
    "orderExecution": {
      "type": "Market"
    },
    "automaticOrderApproval": false
  },
  {
    "_id": "6acba50c8b26bd179f7bb5a0",
    "name": "Buy 15% of the available cash in META every trading day.",
    "userId": null,
    "active": true,
    "condition": {
      "lhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "rhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "name": "always",
      "_id": "6acba50cf10a9bb98249692c",
      "comparison": "equal",
      "type": "Base",
      "description": "Left-Hand indicator (comparator) Right-Hand Indicator",
      "example": "If the Rate of Change of Apple's price is > the Value 0."
    },
    "createdAt": "2026-10-11T15:02:36.431Z",
    "action": {
      "type": "Buy",
      "targetAsset": {
        "name": "META",
        "type": "Stock",
        "symbol": "META"
      },
      "amount": {
        "type": "percent of buying power",
        "amount": 15
      }
    },
    "orderExecution": {
      "type": "Market"
    },
    "automaticOrderApproval": false
  },
  {
    "_id": "6acba50c8b26bd179f7bb5a2",
    "name": "Buy 15% of the available cash in MSFT every trading day.",
    "userId": null,
    "active": true,
    "condition": {
      "lhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "rhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "name": "always",
      "_id": "6acba50c751bbc57bad40546",
      "comparison": "equal",
      "type": "Base",
      "description": "Left-Hand indicator (comparator) Right-Hand Indicator",
      "example": "If the Rate of Change of Apple's price is > the Value 0."
    },
    "createdAt": "2026-10-11T15:02:36.431Z",
    "action": {
      "type": "Buy",
      "targetAsset": {
        "name": "MSFT",
        "type": "Stock",
        "symbol": "MSFT"
      },
      "amount": {
        "type": "percent of buying power",
        "amount": 15
      }
    },
    "orderExecution": {
      "type": "Market"
    },
    "automaticOrderApproval": false
  },
  {
    "_id": "6acba50c8b26bd179f7bb5a4",
    "name": "Buy 7.5% of the available cash in LOW every trading day.",
    "userId": null,
    "active": true,
    "condition": {
      "lhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "rhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "name": "always",
      "_id": "6acba50cb21d958945fa622f",
      "comparison": "equal",
      "type": "Base",
      "description": "Left-Hand indicator (comparator) Right-Hand Indicator",
      "example": "If the Rate of Change of Apple's price is > the Value 0."
    },
    "createdAt": "2026-10-11T15:02:36.431Z",
    "action": {
      "type": "Buy",
      "targetAsset": {
        "name": "LOW",
        "type": "Stock",
        "symbol": "LOW"
      },
      "amount": {
        "type": "percent of buying power",
        "amount": 7.5
      }
    },
    "orderExecution": {
      "type": "Market"
    },
    "automaticOrderApproval": false
  },
  {
    "_id": "6acba50c8b26bd179f7bb5a6",
    "name": "Buy 7.5% of the available cash in COST every trading day.",
    "userId": null,
    "active": true,
    "condition": {
      "lhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "rhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "name": "always",
      "_id": "6acba50cdee8b2c314d433e8",
      "comparison": "equal",
      "type": "Base",
      "description": "Left-Hand indicator (comparator) Right-Hand Indicator",
      "example": "If the Rate of Change of Apple's price is > the Value 0."
    },
    "createdAt": "2026-10-11T15:02:36.431Z",
    "action": {
      "type": "Buy",
      "targetAsset": {
        "name": "COST",
        "type": "Stock",
        "symbol": "COST"
      },
      "amount": {
        "type": "percent of buying power",
        "amount": 7.5
      }
    },
    "orderExecution": {
      "type": "Market"
    },
    "automaticOrderApproval": false
  },
  {
    "_id": "6acba50c8b26bd179f7bb5a8",
    "name": "Buy 5% of the available cash in ORCL every trading day.",
    "userId": null,
    "active": true,
    "condition": {
      "lhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "rhs": {
        "compound": false,
        "targetAssets": [],
        "value": 1,
        "form": {
          "fields": [
            {
              "fields": [
                {
                  "helperText": "Constant value",
                  "name": "value",
                  "label": "Value",
                  "required": true,
                  "fieldType": "number",
                  "value": 1,
                  "min": -100,
                  "max": 100,
                  "globalMin": -1000000,
                  "globalMax": 1000000,
                  "isInteger": false
                }
              ],
              "multiple": false,
              "deletable": false
            }
          ]
        },
        "type": "Value",
        "name": "Constant 1"
      },
      "name": "always",
      "_id": "6acba50c796f2bc71c37b2df",
      "comparison": "equal",
      "type": "Base",
      "description": "Left-Hand indicator (comparator) Right-Hand Indicator",
      "example": "If the Rate of Change of Apple's price is > the Value 0."
    },
    "createdAt": "2026-10-11T15:02:36.431Z",
    "action": {
      "type": "Buy",
      "targetAsset": {
        "name": "ORCL",
        "type": "Stock",
        "symbol": "ORCL"
      },
      "amount": {
        "type": "percent of buying power",
        "amount": 5
      }
    },
    "orderExecution": {
      "type": "Market"
    },
    "automaticOrderApproval": false
  }
]

Before testing

Read test settings and troubleshooting

Open this recipe using the button above and preview its rules. Choose Use template for a built-in entry, or Add to portfolio for a saved entry. Keep the original rules for your first test. Choose a historical period, starting capital, interval, fees and benchmark in the portfolio backtester. After completion, inspect its chart, trades and drawdown.

A completed test should show the selected period, orders and portfolio statistics. If it records no trades, inspect the entry conditions and selected assets before loosening rules. If market data is missing or the run fails, keep the error and fix the coverage issue before comparing results. Changing a threshold or allocation changes the strategy. Keep the original definition and compare changes on a separate period rather than selecting settings from one favorable result.

Discussion

Sign in or create a free account to join the discussion.

No comments yet.

Aurora · AI research assistant

Try this in Aurora

Edit the request, then open it in Aurora. You choose when to send it.