{"id":13633084,"url":"https://github.com/kylejusticemagnuson/pyti","last_synced_at":"2025-11-17T03:38:03.189Z","repository":{"id":48412499,"uuid":"81390061","full_name":"kylejusticemagnuson/pyti","owner":"kylejusticemagnuson","description":"Python library of various financial technical indicators","archived":false,"fork":false,"pushed_at":"2020-10-21T17:22:54.000Z","size":340,"stargazers_count":662,"open_issues_count":18,"forks_count":163,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-08-29T19:40:06.934Z","etag":null,"topics":["python","python2","python3","technical-analysis","technical-indicators"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylejusticemagnuson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.TXT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-09T00:14:18.000Z","updated_at":"2025-07-11T21:09:43.000Z","dependencies_parsed_at":"2022-09-06T09:50:22.240Z","dependency_job_id":null,"html_url":"https://github.com/kylejusticemagnuson/pyti","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/kylejusticemagnuson/pyti","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylejusticemagnuson%2Fpyti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylejusticemagnuson%2Fpyti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylejusticemagnuson%2Fpyti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylejusticemagnuson%2Fpyti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylejusticemagnuson","download_url":"https://codeload.github.com/kylejusticemagnuson/pyti/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylejusticemagnuson%2Fpyti/sbom","scorecard":{"id":575319,"data":{"date":"2025-08-11","repo":{"name":"github.com/kylejusticemagnuson/pyti","commit":"2f78430dfd60a0d20f4e7fc0cb4588c03107c4b2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":2,"reason":"Found 3/11 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.TXT:0","Info: FSF or OSI recognized license: MIT License: LICENSE.TXT:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2020-73"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T17:32:31.172Z","repository_id":48412499,"created_at":"2025-08-20T17:32:31.172Z","updated_at":"2025-08-20T17:32:31.172Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284818574,"owners_count":27068110,"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","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["python","python2","python3","technical-analysis","technical-indicators"],"created_at":"2024-08-01T23:00:27.130Z","updated_at":"2025-11-17T03:38:03.169Z","avatar_url":"https://github.com/kylejusticemagnuson.png","language":"Python","funding_links":[],"categories":["Technical analysis libraries"],"sub_categories":[],"readme":"# pyti\n\nThis library contains various financial technical indicators that can be used to analyze data.\n\nNow compatible with both Python 2.7 and Python 3.6\n\nThe complete list of indicators in this library:\n```\nAccumulation/Distribution\nAroon\n  -Aroon Up\n  -Aroon Down\nAverage Directional Index\nAverage True Range\nAverage True Range Percent\nBollinger Bands\n  -Upper Bollinger Band\n  -Middle Bollinger Band\n  -Lower Bollinger Band\n  -Bandwidth\n  -Percent Bandwidth\n  -Range\n  -%B\nChaikin Money Flow\nChande Momentum Oscillator\nCommodity Channel Index\nDetrended Price Oscillator\nDouble Exponential Moving Average\nDouble Smoothed Stochastic\nExponential Moving Average\nHull Moving Average\nIchimoku Cloud\n  -TenkanSen\n  -KijunSen\n  -Chiku Span\n  -Senkou A\n  -Senkou B\nKeltner Bands\n  -Bandwidth\n  -Center Band\n  -Upper Band\n  -Lower Band\nLinear Weighted Moving Average\nMomentum\nMoney Flow\nMoney Flow Index\nMoving Average Convergence Divergence\nMoving Average Envelope\n  -Upper Band\n  -Center Band\n  -Lower Band\nNegative Directional Index (-DI)\nNegative Directional Movement (-DM)\nOn Balance Volume\nPositive Directional Index (+DI)\nPositive Directional Movement (+DM)\nPrice Channels\n  -Upper Price Channel\n  -Lower Price Channel\nPrice Oscillator\nSimple Moving Average\nSmoothed Moving Average\nStandard Deviation\nStandard Variance\nStochastic\n  -%K\n  -%D\nStochRSI\nRate of Change\nRelative Strength Index\nTriangular Moving Average\nTriple Exponential Moving Average\nTrue Range\nTypical Price\nUltimate Oscillator\nVertical Horizontal Filter\nVolatility\nVolume Adjusted Moving Average\nVolume Index\n  -Positive Volume Index\n  -Negative Volume Index\nVolume Oscillator\nWeighted Moving Average\nWilliams %R\n```\n\nInstall using pip:\n```\npip install pyti\n```\n\nSimple example usage of library:\n```python\nfrom pyti.exponential_moving_average import exponential_moving_average as ema\n\ndata = [6, 7, 3, 6, 3, 9, 5]\nperiod = 2\nres = ema(data, period)\n\n# res = [np.nan, 6.75, 4.0, 5.25, 3.75, 7.5, 6.0]\n```\n\nRunning the whole test suite using tox:\n```\ntox\n```\n\nTo run tests for just Python 2.7 use\n```\ntox -e py27 tests\n```\nor just for Python 3.6\n```\ntox -e py36 tests\n```\n\nTo specifically run one test in a specific Python version:\n```\ntox -e py36 -- tests/test_file_you_want_to_test:TestClassName.test_method_name\n```\n\nIf there is an indicator that you would like to see added or believe there is an error in one of the existing ones, feel free to submit it to Issues. \nIf you would like to add your own indicator, fork the project and submit a pull request. Contributions are always welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylejusticemagnuson%2Fpyti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylejusticemagnuson%2Fpyti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylejusticemagnuson%2Fpyti/lists"}