File size: 1,210 Bytes
725cb3b | 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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | # Init variables for backtrader testing
# Market name mapping
market: 'AAPL'
api_fin: 'backtrader'
interval: '1h'
auto_period: true
period: '60d'
initial_capital: 10000.0
commission: 0.005
slippage_percent: 0.01 # percent value (0.01% -> 0.01)
adjust_prices: true
start_date: "1990-01-01"
end_date: "current" # not used in bt_testing
# llms
openai_model: "gpt-5-nano"
claude_model: "claude-sonnet-4-20250514"
gemini_model: "gemini-2.5-flash"
deepseek_model: "deepseek-reasoner"
save_plt: false
grok4_model: "grok-4-fast-reasoning"
local: false
ticker_to_market:
AAPL: Apple Inc.
GOOGL: Alphabet/Google
AMZN: Amazon.com
TSLA: Tesla Inc.
JPM: JPMorgan Chase & Co.
V: Visa Inc.
SPY: S&P 500 ETF
QQQ: Nasdaq 100 ETF
MSFT: Microsoft Corp.
NVDA: NVIDIA Corp.
META: Meta Platforms
BRK-B: Berkshire Hathaway
UNH: UnitedHealth Group
XOM: Exxon Mobil Corp.
market_to_ticker:
Apple Inc.: AAPL
Alphabet/Google: GOOGL
Amazon.com: AMZN
Tesla Inc.: TSLA
JPMorgan Chase & Co.: JPM
Visa Inc.: V
S&P 500 ETF: SPY
Nasdaq 100 ETF: QQQ
Microsoft Corp.: MSFT
NVIDIA Corp.: NVDA
Meta Platforms: META
Berkshire Hathaway: BRK-B
UnitedHealth Group: UNH
Exxon Mobil Corp.: XOM |