Galileo Platform

Edit strategy nifty50_rsi_trend_following_options_v2 forking from c8da819ddf3a

Two ways to edit: run a multi-turn interview (recommended), or tweak fields directly in the form below. The new run will branch from this exact variant in the family tree.

Start interview → Multi-turn Q&A seeded with this strategy. Best for non-trivial logic changes.

Current strategy

nifty_ema_crossover_1m

trend_following

NIFTY 50

1m

01-01-2025 → 31-12-2025

65

Full current strategy_doc.json
{
  "archetype": "base_strategy_fast",
  "backtest": {
    "buffer_days": 10,
    "db_name": "final_db",
    "end_date": "31-12-2025",
    "start_date": "01-01-2025"
  },
  "entry_conditions": "Long: EMA 15 crosses above EMA 30 on 1m timeframe. Short: EMA 15 crosses below EMA 30 on 1m timeframe. Entries allowed all day, every day.",
  "exchange": "NSE",
  "exit_conditions": "Exit on flip signal only. Long position closes when EMA 15 crosses below EMA 30. Short position closes when EMA 15 crosses above EMA 30. No stop loss, no take profit target. Positions held until signal flip occurs, including across overnight sessions.",
  "indicators": [
    {
      "name": "EMA",
      "period": 15,
      "source": "c",
      "timeframe": "1m"
    },
    {
      "name": "EMA",
      "period": 30,
      "source": "c",
      "timeframe": "1m"
    }
  ],
  "instrument_type": "Spot",
  "instruments": [
    "NIFTY 50"
  ],
  "is_fast_strategy": true,
  "is_options_strategy": false,
  "library_modules": [
    "lib.data.indicators:add_ema",
    "lib.signals.crossovers:cross_signal"
  ],
  "market": "equity",
  "mixins": [
    "CompletedBarMixin"
  ],
  "quantity": 65,
  "risk_management": {
    "max_positions": 1,
    "stop_loss_pct": null,
    "take_profit_pct": null,
    "time_exit": null,
    "trailing_stop": false
  },
  "routing": {
    "archetype_class": "BaseStrategyFast",
    "archetype_file": null,
    "archetype_import": "from system.strategy import BaseStrategyFast"
  },
  "strategy_name": "nifty_ema_crossover_1m",
  "strategy_type": "trend_following",
  "timeframe_roles": {
    "1m": "Entry trigger and exit signal \u2014 EMA 15/30 crossover on completed 1m candles"
  },
  "timeframes": [
    "1m"
  ],
  "unextracted_patterns": [
    {
      "description": "Strategy explicitly designed to hold positions overnight and across multiple trading days with no time-based exit. No EOD close, no expiry-time close. Positions remain open until a reversal signal fires (signal_flip_exit is the sole exit trigger, sometimes supplemented by a pct TP). Gap handling is unconditional \u2014 positions are held through overnight gaps without any gap-based closure.",
      "key": "overnight_position_hold",
      "strategies": [
        "nifty_ema_crossover_1m"
      ]
    }
  ]
}

Edit indicators inline as JSON. Each item is an object with name, period, source, timeframe, role.

Free-form override: if you edit this JSON, it wins over the tab fields above on submit.