Broker Connectivity

Use your broker data access to test strategies before you export code.

Connect your own broker credentials temporarily to discover available historical data, run backtests, review AI-powered risk analysis, and generate broker-ready Python packages for self-hosted deployment.

Broker selector

Z
Zerodha
D
Dhan
A
Angel One
G
Groww
U
Upstox
F
Fyers
S
Shoonya
K
Kotak Neo
I
ICICI Breeze
5
5paisa

Capability matrix

ACTIVE_TESTING_NODE
BrokerHistorical DataEquityFuturesOptionsMCXInstrumentsData WindowStatus
ZerodhaAvailableNSE/BSEF&OOptionsNo MCXInstruments syncBroker-limitedReady
DhanAvailableNSE/BSEF&OOptionsMCX checkInstruments syncBroker-limitedChecklist needed
Angel OneAvailableNSE/BSEF&OOptionsMCX checkInstruments syncBroker-limitedReview required
GrowwAvailableEquityF&O checkOptions checkUnknownInstruments syncBroker-limitedData limits review

Temporary connection status

Credentials

session-only

Secret storage

disabled by default

Historical fetch

allowed

Order endpoints

blocked in Stockey

Data retained

temporary

Package config

generated

Historical data onlyBroker keys discardedNo live order placementUser-owned packageSelf-hosted execution

Broker access is used for testing and package preparation — not Stockey-side execution.

Stockey uses the user's authorized broker access to fetch available historical data, run strategy backtests, and generate configuration files. Live trading remains self-hosted by the user after export.

User broker credentials

entered by the user for the current testing session

Temporary session

used only for requested historical data operations

Historical data fetch

limited by broker-provided availability

Backtest engine

applies the user's own strategy rules

AI result analysis

explains risk, drawdowns, rule weaknesses, and improvement ideas

Package configuration

prepares broker-specific config placeholders

Credentials discarded

no permanent secret storage by default

Broker capability matrix

Every broker has different APIs, instruments, historical data windows, rate limits, and setup rules. Stockey makes those limitations visible before package generation.

BrokerHistorical DataEquityF&OOptions ChainMCXInstrument MasterSetup StatusNotes
Z
Zerodha
AvailableYesYesLimited / broker dependentNot primaryYesReady checklistAPI key, redirect/session flow, broker data limits
D
Dhan
AvailableYesYesReviewReviewYesChecklist neededSandbox/live configuration awareness
A
Angel One
AvailableYesYesReviewReviewYesReview requiredSmartAPI setup and session handling
G
Groww
AvailableYesReviewReviewUnknownReviewData limits reviewConfirm current API capability
U
Upstox
PlannedReviewReviewReviewReviewReviewPlannedCapability mapping pending
F
Fyers
PlannedReviewReviewReviewReviewReviewPlannedCapability mapping pending
S
Shoonya
PlannedReviewReviewReviewReviewReviewPlannedCapability mapping pending
K
Kotak Neo
PlannedReviewReviewReviewReviewReviewPlannedCapability mapping pending

Backtests run only as far back as your broker data allows.

Stockey shows the available historical window before running a backtest. If a broker provides limited data for a timeframe or segment, the backtest range is limited accordingly.

Historical Data Availability
Broker
Zerodha
Segment
F&O
Instrument
NIFTY Options
Timeframe
5 minute
Earliest available candle
Broker-provided
Latest candle
Previous trading session
Backtest range
User-selected within available data
Data gaps
Detected and reported
1
Available data window
2
Selected backtest range
3
Data gaps
4
Report generated

Broker historical availability varies by broker, instrument, segment, and timeframe. Stockey does not invent missing market data.

Broker credentials are session-only by default.

Credentials used only for the current historical data request
No permanent broker-secret storage by default
No order placement endpoints called by Stockey
Secrets excluded from generated ZIP files
Generated package uses .env.example placeholders
User configures broker keys on their own machine or VPS after export
session_policy.env
BROKER_SECRET_STORE=false
ORDER_PLACEMENT_ENABLED=false
HISTORICAL_DATA_ONLY=true
DISCARD_AFTER_SESSION=true

Each broker gets a setup checklist before export.

Checklist steps keep broker setup, data limits, package files, and self-hosted deployment responsibilities visible.

API Access

  • Create API app
  • Configure redirect/session flow
  • Confirm historical data access
  • Verify instrument master

Data Limits

  • Check available symbols
  • Check timeframe support
  • Check historical depth
  • Check rate limits

Package Config

  • Generate broker_config.example.yaml
  • Generate instrument mapping
  • Generate data-fetch script
  • Generate risk_config.yaml

Self-hosted Deployment

  • Add credentials to local .env
  • Configure VPS/static IP if required
  • Run dry-run verification
  • Review live-readiness checklist

AI explains the backtest. It does not tell you what to trade.

AI review is constrained to historical result explanation, risk observations, and user-approved experiment ideas.

Data limitations

AI explains whether the backtest was limited by timeframe, data gaps, segment, or broker availability.

Risk analysis

AI reviews drawdowns, stop-loss behavior, exposure, position sizing, and concentration.

Strategy improvement ideas

AI suggests tests the user may run, such as alternate exit rules, stricter risk limits, or different time windows.

AI analysis is for strategy review and education. It does not provide investment advice, security recommendations, or live trade instructions.

Generated packages include broker-aware configuration, not your secrets.

strategy_package/
strategy_package/
.env.example
config/
broker_config.example.yaml
strategy_config.yaml
risk_config.yaml
instruments.csv
src/
data/
broker_historical_fetch.py
instrument_master.py
backtest/
engine.py
metrics.py
reports.py
brokers/
base.py
zerodha.py
dhan.py
angelone.py
groww.py
strategy.py
main_backtest.py
main_live.py
deployment/
BROKER_SETUP.md
STATIC_IP_CHECKLIST.md
LIVE_READINESS.md
RISK_DISCLOSURE.md

Safeguards

Secrets excluded from ZIP
Backtest uses historical data only
Live script remains self-hosted
Live mode disabled by default
User owns package
Broker capability warnings included

Connect broker data. Test your rules. Export your package.

Stockey helps you understand what your broker can provide before you bake the strategy into a self-hosted Python package.