Skip to content

Commit c62c29d

Browse files
committed
v0.0.22: Scanner rule upgrades - 4 new trading logic rules, 3 bug fixes
1 parent 089857d commit c62c29d

2 files changed

Lines changed: 37 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,46 @@
11
# Changelog
22

3-
## 0.0.20 -- Real-Client MITM Validation
3+
## 0.0.22 - Scanner Rule Upgrades
4+
5+
**Release date:** 2026-03-16
6+
7+
4 new trading logic rules, 3 bug fixes, 45 total rules.
8+
9+
### New Rules
10+
11+
- **Extended Hours Without Limit Order** (HIGH) - Flags `extended_hours=True` without limit order context. Market orders and non-day TIF are rejected in extended sessions.
12+
- **Leverage Without Cap** (HIGH) - Detects bare `leverage = 4` assignments with no min/max/config guard. Over-leverage amplifies losses and triggers margin calls.
13+
- **Hardcoded Notional Amount** (MEDIUM) - Catches large fixed dollar values like `notional = 100000`. Use calculated position sizing with risk budgets instead.
14+
- **Hardcoded Crypto Pair** (LOW) - Flags hardcoded crypto pairs like `symbol="BTCUSDT"` or `pair='ETH/USD'`. Make configurable for reusability.
15+
16+
### Bug Fixes
17+
18+
- **Infinite Loop Risk** - Now catches `while 1:` in addition to `while True:`
19+
- **Sleep Without Kill Switch** - Now matches single-decimal sleeps like `time.sleep(0.5)`
20+
- **Custom rule loading** - `load_custom_rules()` now reads `category` from YAML, so custom rules work with `--mode trading` and `--mode agent`
21+
22+
---
23+
24+
## 0.0.21 - Housekeeping
25+
26+
**Release date:** 2026-03-15
27+
28+
Cleanup release with no functional changes to the scanner or guard engines.
29+
30+
- **License**: Changed from Proprietary to MIT
31+
- **README**: Rewritten with quick start guide, usage examples, and PyPI badges
32+
- **Text cleanup**: Removed em dashes and non-ASCII characters from comments, docstrings, and documentation
33+
- **CI**: Fixed live test exclusion and cross-platform CLI test compatibility
34+
35+
---
36+
37+
## 0.0.20 - Real-Client MITM Validation
438

539
**Release date:** 2026-03-14
640

741
This release marks the transition from "structurally validated" to "live MITM validated." The HTTPS interception path has been proven end-to-end with real HTTP clients through a trusted local CA.
842

9-
### HTTPS MITM -- Now Real-Client Validated
43+
### HTTPS MITM - Now Real-Client Validated
1044

1145
- Validated with **curl**, **requests**, and **httpx** using a trusted local CA
1246
- 24 MITM live-validation tests covering: clean forward, blocked request, untrusted CA failure, secret in URL/header/body, binary passthrough, gzip body scanning, large body forwarding

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "quanttape"
7-
version = "0.0.20"
7+
version = "0.0.22"
88
authors = [
99
{ name = "Quant Tape LLC", email = "info@quanttape.com" },
1010
]

0 commit comments

Comments
 (0)