-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (31 loc) · 1.23 KB
/
.env.example
File metadata and controls
40 lines (31 loc) · 1.23 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
30
31
32
33
34
35
36
37
38
39
40
# Options Strategy Lab — environment configuration template.
# Copy to `.env` and fill in. All settings are prefixed OSL_ (see osl/config.py).
# --- Schwab Trader API (primary provider) ---
OSL_SCHWAB_APP_KEY=your-app-key
OSL_SCHWAB_APP_SECRET=your-app-secret
OSL_SCHWAB_CALLBACK_URL=https://127.0.0.1
OSL_SCHWAB_TOKEN_PATH=.secrets/schwab_token.json
# --- Reference data ---
# Optional; only needed when OSL_RISK_FREE_CURVE_SOURCE=fred
OSL_FRED_API_KEY=
# --- Additional providers (read-only chains; optional) ---
OSL_TRADIER_TOKEN=
OSL_MARKETDATA_TOKEN=
# --- Single-user app lock (optional) ---
# sha256 hex of the app password; generate with:
# python -c "from osl.auth import hash_password; print(hash_password('your-password'))"
OSL_APP_PASSWORD_HASH=
# --- Storage roots ---
OSL_DATA_ROOT=./data
OSL_SNAPSHOT_ROOT=./data/snapshots
# --- Risk-free curve ---
# "fred" pulls Treasury zeros from FRED; "flat" uses OSL_RISK_FREE_FLAT_RATE.
OSL_RISK_FREE_CURVE_SOURCE=flat
OSL_RISK_FREE_FLAT_RATE=0.045
# --- Provider / analytics defaults ---
OSL_DEFAULT_PROVIDER=schwab
OSL_IV_LOOKBACK_DAYS=252
# Symbols the snapshot worker captures (comma-separated).
OSL_WATCHLIST=SPY,QQQ,IWM
# Gate v2 / experimental features.
OSL_ENABLE_EXPERIMENTAL=false