-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.env.example
More file actions
29 lines (24 loc) · 1.25 KB
/
Copy path.env.example
File metadata and controls
29 lines (24 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# API Credentials for RRG Sector Rotation
# Copy this file to .env and fill in your actual credentials
# DO NOT COMMIT .env TO GIT
# Which data provider to use by default: "angel" or "kite"
# (You can also switch providers at runtime from the "Data Provider" dropdown in the app.)
DATA_PROVIDER=angel
# Exchange used for both providers
EXCHANGE=NSE
# ---------------------------------------------------------------------------
# AngelOne SmartAPI credentials (required when DATA_PROVIDER=angel)
# ---------------------------------------------------------------------------
API_KEY=your_api_key_here
CLIENT_ID=your_client_id_here
PASSWORD=your_password_here
TOTP_TOKEN=your_totp_token_here
# ---------------------------------------------------------------------------
# Zerodha Kite Connect credentials (required when DATA_PROVIDER=kite)
# Requires a Kite Connect app with the historical-data add-on subscription.
# KITE_ACCESS_TOKEN expires every day -- regenerate it with: python kite_login.py
# ---------------------------------------------------------------------------
KITE_API_KEY=your_kite_api_key_here
KITE_ACCESS_TOKEN=your_kite_access_token_here
# Only needed by the kite_login.py helper to generate the daily access token:
KITE_API_SECRET=your_kite_api_secret_here