Update README.md
Browse files
README.md
CHANGED
|
@@ -41,17 +41,17 @@ tickers (Required): The list of stock ticker symbols you want to analyze, separa
|
|
| 41 |
## Examples
|
| 42 |
Here are a few examples of how to run the script:
|
| 43 |
|
| 44 |
-
```
|
| 45 |
-
Example 1: Basic Signal for a Single Stock
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
| 48 |
This will generate a signal for Apple (AAPL), using the default 2-year period.
|
| 49 |
|
| 50 |
Bash
|
| 51 |
```
|
| 52 |
python signal_generator.py AAPL
|
| 53 |
```
|
| 54 |
-
|
| 55 |
This command downloads data for SPY, QQQ, and NVDA but specifically generates the trading signal for NVDA.
|
| 56 |
|
| 57 |
Bash
|
|
@@ -59,7 +59,7 @@ Bash
|
|
| 59 |
python signal_generator.py SPY QQQ NVDA --target=NVDA
|
| 60 |
```
|
| 61 |
|
| 62 |
-
|
| 63 |
This command generates a signal for the QQQ ETF and includes the VIX (volatility), TNX (10-year treasury yield), and DXY (dollar index) for a richer market context.
|
| 64 |
|
| 65 |
Bash
|
|
@@ -67,7 +67,7 @@ Bash
|
|
| 67 |
python signal_generator.py QQQ VIX TNX DXY
|
| 68 |
```
|
| 69 |
|
| 70 |
-
|
| 71 |
This generates a signal for Microsoft (MSFT) using only the last 6 months of data.
|
| 72 |
|
| 73 |
Bash
|
|
|
|
| 41 |
## Examples
|
| 42 |
Here are a few examples of how to run the script:
|
| 43 |
|
|
|
|
|
|
|
| 44 |
|
| 45 |
+
### Example 1: Basic Signal for a Single Stock
|
| 46 |
+
|
| 47 |
+
|
| 48 |
This will generate a signal for Apple (AAPL), using the default 2-year period.
|
| 49 |
|
| 50 |
Bash
|
| 51 |
```
|
| 52 |
python signal_generator.py AAPL
|
| 53 |
```
|
| 54 |
+
### Example 2: Signal for a Target Stock with Market Context
|
| 55 |
This command downloads data for SPY, QQQ, and NVDA but specifically generates the trading signal for NVDA.
|
| 56 |
|
| 57 |
Bash
|
|
|
|
| 59 |
python signal_generator.py SPY QQQ NVDA --target=NVDA
|
| 60 |
```
|
| 61 |
|
| 62 |
+
### Example 3: Including Market Indexes
|
| 63 |
This command generates a signal for the QQQ ETF and includes the VIX (volatility), TNX (10-year treasury yield), and DXY (dollar index) for a richer market context.
|
| 64 |
|
| 65 |
Bash
|
|
|
|
| 67 |
python signal_generator.py QQQ VIX TNX DXY
|
| 68 |
```
|
| 69 |
|
| 70 |
+
### Example 4: Using a Shorter Historical Period
|
| 71 |
This generates a signal for Microsoft (MSFT) using only the last 6 months of data.
|
| 72 |
|
| 73 |
Bash
|