Update README.md
This commit is contained in:
1 parent
9522bd0488
commit
0939238934
1 file changed
+29
-8
@@ -34,9 +34,10 @@ APCA_API_BASE_URL="https://paper-api.alpaca.markets"
|
||||
|
||||
2. Modify `config.json` to adjust trading parameters:
|
||||
- `SYMBOL`: Stock to trade (default: SPY)
|
||||
- `RISK_PER_TRADE`: Risk per trade as % of equity (default: 0.005)
|
||||
- `RISK_PER_TRADE`: Risk per trade as % of equity (default: 0.01)
|
||||
- `MAX_TRADES_PER_DAY`: Daily trade limit (default: 5)
|
||||
- `ENABLE_SHORT_SELLING`: Enable/disable short positions (default: true)
|
||||
- `MIN_SIGNAL_STRENGTH`: Minimum signal strength to enter trades (default: 0.3)
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -52,13 +53,26 @@ python3 -m alpaca_trader
|
||||
|
||||
## Key Parameters
|
||||
|
||||
- **SHORT_WINDOW**: Fast moving average period (default: 20)
|
||||
- **LONG_WINDOW**: Slow moving average period (default: 50)
|
||||
- **ADX_THRESHOLD**: Minimum ADX for trend detection (default: 20)
|
||||
- **ATR_STOP_MULTIPLIER**: Stop loss distance in ATR units (default: 1.5)
|
||||
### Entry/Exit Signals
|
||||
- **SHORT_WINDOW**: Fast moving average period (default: 10)
|
||||
- **LONG_WINDOW**: Slow moving average period (default: 30)
|
||||
- **RSI_BUY_MAX**: Maximum RSI for buy signals (default: 55)
|
||||
- **RSI_SELL_MIN**: Minimum RSI for sell signals (default: 30)
|
||||
- **ADX_THRESHOLD**: Minimum ADX for trend detection (default: 25)
|
||||
- **MIN_SIGNAL_STRENGTH**: Minimum signal strength threshold (default: 0.3)
|
||||
|
||||
### Risk Management
|
||||
- **ATR_STOP_MULTIPLIER**: Stop loss distance in ATR units (default: 2.0)
|
||||
- **USE_TRAILING_STOP**: Enable trailing stop loss (default: true)
|
||||
- **PROFIT_TARGET_1**: First profit target in R (default: 1.5)
|
||||
- **PROFIT_TARGET_2**: Second profit target in R (default: 3.0)
|
||||
- **PROFIT_TARGET_1**: First profit target in R (default: 2.0)
|
||||
- **PROFIT_TARGET_2**: Second profit target in R (default: 4.0)
|
||||
- **MAX_DRAWDOWN**: Maximum account drawdown threshold (default: 0.08)
|
||||
|
||||
### Filters
|
||||
- **MULTIFRAME_FILTER**: Enable hourly timeframe confirmation (default: false)
|
||||
- **USE_VIX_FILTER**: Filter trades based on VIX (default: false)
|
||||
- **USE_200_SMA_FILTER**: Filter based on 200-day SMA (default: false)
|
||||
- **VOLUME_MULTIPLIER**: Minimum volume as multiple of average (default: 0.5)
|
||||
|
||||
## Logging
|
||||
|
||||
@@ -67,4 +81,11 @@ python3 -m alpaca_trader
|
||||
|
||||
## Warning
|
||||
|
||||
This is for educational purposes. Test thoroughly in paper trading before using real capital. Trading involves risk of loss.
|
||||
**DISCLAIMER: This software is provided for educational and research purposes only. The author is not responsible for any financial losses, damages, or liabilities incurred from using this trading bot. Use at your own risk.**
|
||||
|
||||
- Test thoroughly in paper trading before using real capital
|
||||
- Past performance does not guarantee future results
|
||||
- Trading involves substantial risk of loss
|
||||
- Never trade with money you cannot afford to lose
|
||||
- This is NOT financial advice
|
||||
- Consult a licensed financial advisor before making investment decisions
|
||||
Reference in new issue
Block a user