-
Notifications
You must be signed in to change notification settings - Fork 309
Expand file tree
/
Copy path.env.local.example
More file actions
24 lines (20 loc) · 945 Bytes
/
.env.local.example
File metadata and controls
24 lines (20 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Local-only example (DO NOT COMMIT secrets). Copy to `.env.local`.
#
# Backtesting data source selection:
# - ibkr: IBKR-only via Data Downloader
# - router: Theta + IBKR routing (default mapping)
# - JSON mapping: route by asset type
# Single-provider example:
# BACKTESTING_DATA_SOURCE=ibkr
# Multi-provider example (Theta for stock/option/index; IBKR for futures/crypto):
BACKTESTING_DATA_SOURCE='{"default":"thetadata","stock":"thetadata","option":"thetadata","index":"thetadata","future":"ibkr","crypto":"ibkr"}'
# Data Downloader connection (required for ThetaData and IBKR backtesting in this setup)
DATADOWNLOADER_BASE_URL=https://<your-downloader-host>:8080
DATADOWNLOADER_API_KEY=REPLACE_ME
# Optional: remote cache mirroring (S3)
# LUMIBOT_CACHE_BACKEND=s3
# LUMIBOT_CACHE_MODE=readwrite
# LUMIBOT_CACHE_S3_BUCKET=REPLACE_ME
# LUMIBOT_CACHE_S3_PREFIX=REPLACE_ME
# LUMIBOT_CACHE_S3_REGION=us-east-1
# LUMIBOT_CACHE_S3_VERSION=dev