{"id":16937289,"url":"https://github.com/yageek/tulipindicators-swift","last_synced_at":"2025-04-11T19:08:47.629Z","repository":{"id":39615253,"uuid":"190228864","full_name":"yageek/tulipindicators-swift","owner":"yageek","description":":bar_chart: Swift Technical Analysis library around tulip","archived":false,"fork":false,"pushed_at":"2020-08-27T09:32:09.000Z","size":434,"stargazers_count":22,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T15:01:40.824Z","etag":null,"topics":["swift","technical-analysis","tulip"],"latest_commit_sha":null,"homepage":"https://yageek.github.io/tulipindicators-swift/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yageek.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-04T15:28:50.000Z","updated_at":"2023-11-01T09:51:26.000Z","dependencies_parsed_at":"2022-09-15T21:40:40.465Z","dependency_job_id":null,"html_url":"https://github.com/yageek/tulipindicators-swift","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yageek%2Ftulipindicators-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yageek%2Ftulipindicators-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yageek%2Ftulipindicators-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yageek%2Ftulipindicators-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yageek","download_url":"https://codeload.github.com/yageek/tulipindicators-swift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465313,"owners_count":21108244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["swift","technical-analysis","tulip"],"created_at":"2024-10-13T20:59:14.132Z","updated_at":"2025-04-11T19:08:47.608Z","avatar_url":"https://github.com/yageek.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tulipindicators-swift\n\n[![License](https://img.shields.io/github/license/yageek/tulipindicators-swift.svg)](LICENSE)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Cocoapods](https://img.shields.io/cocoapods/v/tulipindicators-swift.svg)](https://img.shields.io/cocoapods/v/tulipindicators-swift.svg)\n\nThis swift package offers a technical analysis function by wrapping the [tulipindicators C library](https://tulipindicators.org)\n\n## Installation\n\nYou can access the documentation [here](https://yageek.github.io/tulipindicators-swift/)\n\n### Swift package manager\n\n```swift\nimport PackageDescription\n\nlet package = Package(\n    dependencies: [\n        .package(url: \"https://github.com/yageek/tulipindicators-swift.git\", from: \"1.0.1\"),\n    ]\n)\n```\n\n### Carthage\n\n```\ngithub \"yageek/tulipindicators-swift\" ~\u003e 1.0.1\n```\n\n### Cocoapods\n\n```\npod 'tulipindicators-swift' ~\u003e 1.0.1\n```\n\n## Usage\n\n```swift\nimport tulipindicators\n\nlet inputs: [Double] = [81.59, 81.06, 82.87, 83.00, 83.61, 83.15, 82.84, 83.99, 84.55, 84.36, 85.53, 86.54, 86.89, 87.77, 87.29]\nlet (beginIdx, outputs) = msw(inputs, period: 5)\n\nprint(\"Relative Input offset: \\(beginIdx)\")\nprint(\"MSW values: \\(outputs)\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyageek%2Ftulipindicators-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyageek%2Ftulipindicators-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyageek%2Ftulipindicators-swift/lists"}