7b3c5691e17ec71530517dc52e93ce92a05115a0
1. RecommendationEngine: daysToExp used before declaration Move daysToExp/T calculation above selectBestContract() call so the variable exists when it is passed as daysToExpiry parameter. 2. YahooFinanceClient: Swift 6 actor-isolation on Decodable conformances nonisolated methods on an actor still inherit actor isolation in Swift 6. Fix: lift all three decode helpers (yfDecodeChart, yfDecodeOptions, yfMakeContract) to file-scope free functions completely outside the actor. File-scope functions are naturally nonisolated. Also renamed the private JSON model structs to YFChartResponse / YFOptionsResponse to avoid any name collisions now that they live at file scope. 3. LogTradeSheet: unused 'let s = strike' binding Replace 'let s = strike' with 'strike != nil' since the bound value was never referenced inside the if-body. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Swift
70%
Python
30%