V1 / INDIA MARKETS / SELF-HOSTED

Turn your trading rules into
exportable Python strategy packages.

A guided strategy engineering platform for self-directed Indian market traders. Define rules, import Pine Script, review historical tests, prepare self-hosted package exports, and use broker checklists for user-controlled handoff.

F&OMulti-leg optionsMCX
PHASE 1
Define Entry
PHASE 2
Risk Management
PHASE 3
Exit Logic
risk_config.yaml
max_drawdown_pct: 2.5
daily_loss_limit_inr: 5000
position_sizing:
  type: atr_based
  atr_period: 14
  risk_per_trade_pct: 1.0
instruments:
  - NIFTY
  - BANKNIFTY
PACKAGE STRUCTURE
  • strategy_pkg/
  • historical_test.py
  • src/main_backtest.py
  • src/execution/live_guards.py
  • strategy_config.yaml
  • broker_config.example.yaml
  • risk_config.yaml
  • .env.example
  • RISK_DISCLOSURE.md
HISTORICAL TESTING
User data / CSV
ASSUMPTION REVIEW
Costs and slippage
EXPORT GUARD
Dry-run default
BROKER CHECKLIST
Pre-flight validation
STATIC IP CHECK
Where broker requires

How it works

1

Define or import rules

Use our visual builder or import existing Pine Script logic to define your entry and exit conditions.

2

Structure the strategy

Stockey turns your rules into a structured strategy record so assumptions, risk limits, and test inputs stay clear.

3

Review package export

Review the expected self-hosted Python package structure with historical testing files, dry-run defaults, and example configuration values.

4

Prepare handoff

Use deployment guidance, broker setup checklists, and dry-run-first review before configuring your own environment.

Package export direction stays self-hosted and user-controlled.

Public package direction may range from a bare Python package to planned local UI and later advanced self-hosted runtime options, while Stockey SaaS stays outside live order placement and broker-account operation.

Bare Python package

A technical export path for users who want scripts, configs, .env.example, dependency notes, and command-line historical testing.

Self-hosted package options

Export paths are designed around user-owned artifacts, local credentials, dry-run-first defaults, and live disabled by default.

Planned local UI option

Later package options may include a local app and launcher while credentials and runtime decisions remain user-controlled.

Later advanced runtime

Advanced self-hosted runtime packages are planned for later phases; Stockey SaaS does not place orders or operate broker accounts.

Market coverage

Built for strategy design across Indian market segments. Broker historical-data availability can vary.

NSE/BSE

Equity Cash

instrument_type: "EQ"
exchange: "NSE"
order_type: "MIS"
NFO

Futures

instrument_type: "FUT"
underlying: "NIFTY"
expiry: "current"
NFO

Options

instrument_type: "OPT"
option_type: "CE"
strike: "ATM+100"
NFO ADVANCED

Multi-leg options

strategy: "short_straddle"
legs:
- leg1: CE, sell
- leg2: PE, sell
MCX

MCX Futures

instrument_type: "FUT"
exchange: "MCX"
underlying: "CRUDEOIL"
INTEGRATION

Pine Script

// convert to python
@version=5
strategy("My Algo")

Built for self-directed strategy engineering, not blind automation.

We provide the tools to build and package. You maintain control, oversight, and responsibility for the environment where you run it.

  • No permanent broker-secret storage by default
  • Planned package exports keep dry-run defaults
  • Exported package starts with safety defaults
  • Broker setup and static IP checklist included
  • Historical test files and example configuration stay separate
  • You own and host the exported Python code

Broker, export, and runtime flow

Broker data needs
Historical-data checks
Dry-run package export
Static IP checklist
User-controlled runtime

Strategy Builder Wizard

A visual interface to piece together indicators, entry/exit logic, and risk parameters without writing boilerplate Python.

UI PREVIEW

Pine Script to Python Package

Translate Pine Script ideas into structured Python historical testing and self-hosted export preparation.

CONVERTER PREVIEW

Self-hosted deployment handoff

Guidance for reviewing package contents, local setup values, VPS/static IP needs, and dry-run-first setup.

DEPLOYMENT PREVIEW

Start with your rules.
Prepare a self-hosted package export.