TradingAgents/tests
Filipe Salvio a249334f8d test(01-02): add comprehensive unit tests for Tradier data layer
- 25 tests across 10 test classes covering all Phase 1 DATA requirements
- TestGetExpirations (DATA-02): DTE filtering, single-item normalization (Pitfall 5)
- TestGetOptionsChain (DATA-01): structure, values, single-contract normalization (Pitfall 2)
- TestGreeksPresent (DATA-03): all 1st-order Greeks populated
- TestGreeksAbsent (Pitfall 1): null Greeks handled gracefully
- TestIVPresent (DATA-04): bid_iv, mid_iv, ask_iv, smv_vol values
- TestDTEFilter (DATA-05): range filtering with expiration list update
- TestVendorRegistration (DATA-08): VENDOR_LIST, TOOLS_CATEGORIES, VENDOR_METHODS
- TestRateLimitDetection: HTTP 429 and X-Ratelimit-Available=0
- TestSessionCache: cache hit avoids redundant calls, clear forces re-fetch
- TestSandboxURL: env var toggles production vs sandbox URL
- All mocked, no real API calls; pytest added as dev dependency
2026-03-29 20:35:56 -03:00
..
unit test(01-02): add comprehensive unit tests for Tradier data layer 2026-03-29 20:35:56 -03:00
conftest.py test(01-02): add comprehensive unit tests for Tradier data layer 2026-03-29 20:35:56 -03:00
test_ticker_symbol_handling.py fix: preserve exchange-qualified tickers across agent prompts 2026-03-21 21:10:13 +08:00