File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 1- """All the general configuration of the project."""
1+ """Configuration file for backtesting trading strategies.
2+
3+ Parameters:
4+ STOCKS (list of str): List of stock symbols to fetch data for.
5+ START_DATE (str): Start date for fetching historical stock data
6+ (format: "YYYY-MM-DD").
7+ END_DATE (str): End date for fetching historical stock data (format: "YYYY-MM-DD").
8+ INTERVAL (str): Time interval for stock data (e.g., "1d", "1wk", "1mo").
9+ STRATEGIES (list of str): List of trading strategies to evaluate.
10+ Possible values: ["bollinger", "macd", "roc", "rsi"].
11+ INITIAL_CASH (int): Initial amount of cash available for trading.
12+ TAC (float): Transaction cost per trade, represented as a fraction
13+ (e.g., 0.005 for 0.5%).
14+ TRADE_PCT (float): Percentage of available capital to invest per trade
15+ (e.g., 0.05 for 5%).
16+ """
217
318from pathlib import Path
419
You can’t perform that action at this time.
0 commit comments