{"repo":"alexdremov/SwiftYFinance","free":true,"listed":false,"github":"https://github.com/alexdremov/SwiftYFinance","clone":"git clone https://github.com/alexdremov/SwiftYFinance.git","description":"The best Yahoo Finance library with the power of Swift","language":"Swift","stars":76,"topics":["yahoo-finance","swift","api","stock","stock-market","mobile-app","mobile","ios","yahoo-finance-api","yahoo"],"license":"MIT","category":"mobile-apps","readme_excerpt":"SwiftYFinance Requirements I used Swift 5.0 and backward compatibility is not guranteed. IOS 13+ Installation SwiftYFinance is available through Swift Package Manager. Add dependency to your Package file: Or add dependency to your XCode project: File Swift Packages Add Package Dependency Basic Usage Search The same thing but synchronously: Even though executing commands in the main thread synchronously is not the best practice, I added this feature to the project. It's on your account to write fast, non-freezing apps, so use synchronous methods wisely. Search for news is also awailable through fetchSearchDataBy(searchNews:String, ...) Basic recent data Fetches the most recent data about identifier collecting basic information. Chart data Fetches chart data points Chart data at moment Sometimes, you need to fetch data at some moment in the past. Use chartDataBy(..., moment: Date, ...) for that. Identifier Summary This part of API is MASSIVE. Yahoo Finance has a lot of summary modules and I implemented several of them. Still, you can fetch data from raw JSON parameter. I will add new modules with every version. Currently, only essential modules are implemented. Module Support Module Support ----------------------------------- --------- ----------------------------------- --------- calendarEvents :white check mark: recommendationTrend :white check mark: summaryProfile :white check mark: quoteType :white check mark: industryTrend :white check mark: price :white check mark: summar","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexdremov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexdremov/SwiftYFinance/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}