codifx 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -75
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -364,48 +364,6 @@ TLKM.JK ▼ SELL 74 SPECULATIVE Rp 3.470 Rp 3.430 Rp 3.470
|
|
|
364
364
|
- Volatility: PASS ✅
|
|
365
365
|
```
|
|
366
366
|
|
|
367
|
-
## 🔧 Configuration
|
|
368
|
-
|
|
369
|
-
### Profile Customization
|
|
370
|
-
|
|
371
|
-
Edit profile files in `profiles/` directory:
|
|
372
|
-
|
|
373
|
-
**File Structure:**
|
|
374
|
-
|
|
375
|
-
```
|
|
376
|
-
profiles/
|
|
377
|
-
├── day.profile.json
|
|
378
|
-
├── swing.profile.json
|
|
379
|
-
└── scalp.profile.json
|
|
380
|
-
```
|
|
381
|
-
|
|
382
|
-
**Customizable Parameters:**
|
|
383
|
-
|
|
384
|
-
1. **Timeframes**
|
|
385
|
-
|
|
386
|
-
- `primary`: 1m, 5m, 15m, 1h, 1d
|
|
387
|
-
- `confirmation`: 5m, 15m, 1h, 1d, 1w
|
|
388
|
-
|
|
389
|
-
2. **Weights** (must sum to 100)
|
|
390
|
-
|
|
391
|
-
- `trend`: 0-100
|
|
392
|
-
- `oscillator`: 0-100
|
|
393
|
-
|
|
394
|
-
3. **Filters**
|
|
395
|
-
|
|
396
|
-
- `minVolume`: Minimum average volume
|
|
397
|
-
- `minADX`: Minimum ADX for trend strength (0-100)
|
|
398
|
-
- `atrMinPercent`: Minimum ATR% for volatility
|
|
399
|
-
- `atrMaxPercent`: Maximum ATR% for volatility
|
|
400
|
-
|
|
401
|
-
4. **Scoring**
|
|
402
|
-
|
|
403
|
-
- `minScore`: Minimum score threshold (0-100)
|
|
404
|
-
|
|
405
|
-
5. **Indicators**
|
|
406
|
-
- `trend`: ["SMA20", "EMA10", "EMA20", "EMA50", "HMA9", "VWMA20"]
|
|
407
|
-
- `oscillators`: ["RSI", "MACD", "Stochastic", "ADX", "CCI", "Williams"]
|
|
408
|
-
|
|
409
367
|
## 🎯 Scoring System
|
|
410
368
|
|
|
411
369
|
### Base Score Calculation
|
|
@@ -426,39 +384,7 @@ Final Score = (Trend × Weight_Trend) + (Oscillator × Weight_Oscillator) + Bonu
|
|
|
426
384
|
- **BUY/SELL**: Score ≥ 75
|
|
427
385
|
- **SPECULATIVE**: Score ≥ 65 (or profile minScore)
|
|
428
386
|
|
|
429
|
-
##
|
|
430
|
-
|
|
431
|
-
### Core Components
|
|
432
|
-
|
|
433
|
-
```
|
|
434
|
-
src/
|
|
435
|
-
├── cli/ # Command-line interface
|
|
436
|
-
│ ├── index.ts # CLI entry point
|
|
437
|
-
│ └── commands/ # Command implementations
|
|
438
|
-
│ ├── scan.ts # Main scanning logic
|
|
439
|
-
│ ├── profile.ts # Profile management
|
|
440
|
-
│ └── validate.ts# Validation tools
|
|
441
|
-
├── core/ # Analysis engines
|
|
442
|
-
│ ├── engine.ts # Main scanner engine
|
|
443
|
-
│ ├── trend-engine.ts # Trend analysis
|
|
444
|
-
│ ├── oscillator-engine.ts# Oscillator analysis
|
|
445
|
-
│ ├── scoring.ts # Scoring & rating system
|
|
446
|
-
│ └── filters.ts # Volume & volatility filters
|
|
447
|
-
├── indicators/ # Technical indicators
|
|
448
|
-
│ ├── trend/ # SMA, EMA, HMA, VWMA
|
|
449
|
-
│ └── oscillator/ # RSI, MACD, Stochastic, ADX, CCI, Williams
|
|
450
|
-
├── data/ # Data providers
|
|
451
|
-
│ ├── yahoo.ts # Yahoo Finance integration
|
|
452
|
-
│ └── provider.ts # Base data provider
|
|
453
|
-
├── utils/ # Utilities
|
|
454
|
-
│ ├── html-generator.ts # HTML dashboard generator
|
|
455
|
-
│ ├── logger.ts # Detailed logging
|
|
456
|
-
│ ├── formatter.ts # Output formatting
|
|
457
|
-
│ └── levels.ts # Trading levels calculator
|
|
458
|
-
└── types/ # TypeScript types
|
|
459
|
-
```
|
|
460
|
-
|
|
461
|
-
## 📝 Advanced Usage
|
|
387
|
+
## Advanced Usage
|
|
462
388
|
|
|
463
389
|
### Custom Scan with All Options
|
|
464
390
|
|