No description
Angel One SENSEX weeklies use e.g. SENSEX26JUN77300PE where 26=day, JUN=month, 77300=strike — no year in the symbol. The previous parser tried YY+MON+DD, treating 26 as year and 77 as day, giving an invalid date (2026-06-77) and returning null for ALL option positions. Added Format 3: DD(1-2) + MON(3-letter) + STRIKE + TYPE Year is inferred: current year, or next year if date is >7 days past. Format 2 (YY+MON+DD) is left as-is so it still falls through to Format 3 when its parsed date is invalid (day=77 etc). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| public | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| package.json | ||
| tsconfig.json | ||