{"id":45940311,"url":"https://github.com/agdiiura/stochax","last_synced_at":"2026-02-28T10:36:42.918Z","repository":{"id":257605881,"uuid":"774832377","full_name":"agdiiura/stochax","owner":"agdiiura","description":"Stochastic processes simulation and calibration in python","archived":false,"fork":false,"pushed_at":"2026-02-17T14:52:43.000Z","size":3735,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-17T19:40:28.714Z","etag":null,"topics":["stochastic-processes"],"latest_commit_sha":null,"homepage":"https://stochax.readthedocs.io/en/stable/","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/agdiiura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-20T09:20:03.000Z","updated_at":"2026-02-17T14:52:48.000Z","dependencies_parsed_at":"2024-12-09T15:31:35.348Z","dependency_job_id":"23a89f49-f90f-41fb-b6dd-9afe3944bd49","html_url":"https://github.com/agdiiura/stochax","commit_stats":null,"previous_names":["agdiiura/stochax"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/agdiiura/stochax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agdiiura%2Fstochax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agdiiura%2Fstochax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agdiiura%2Fstochax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agdiiura%2Fstochax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agdiiura","download_url":"https://codeload.github.com/agdiiura/stochax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agdiiura%2Fstochax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29930344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T09:58:13.507Z","status":"ssl_error","status_checked_at":"2026-02-28T09:57:57.047Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["stochastic-processes"],"created_at":"2026-02-28T10:36:42.290Z","updated_at":"2026-02-28T10:36:42.904Z","avatar_url":"https://github.com/agdiiura.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stochax 📈\n\nStochastic processes in python\n\n\n\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit) [![Documentation Status](https://readthedocs.org/projects/stochax/badge/?version=latest)](https://stochax.readthedocs.io/en/latest/?badge=latest)\n\nThe file `pyproject.toml` contains the packages needed for the installation.\nThe code requires `python3.12+`.\n\n### Installation\nTo install the package the simplest procedure is:\n```bash\npip install stochax\n```\nNow you can test the installation... In a python shell:\n\n```python\nimport stochax as sx\n\nsx.__version__\n```\n\n#### Installation from source\nOnce you have cloned the repository\n```bash\npip install .\n```\nTo use the develop mode just write `pip install -e .`.\n\n\n## Examples\n### Data simulation\n```python\nimport stochax as sx\n\nabm = sx.ArithmeticBrownianMotion(mu=0.25, sigma=1.7)\nrealizations = abm.simulate(\n    initial_value=1,\n    n_steps=5\n)\n\nprint(realizations)\n```\n```\n          0\n0  1.000000\n1  3.567428\n2  4.163523\n3  4.874200\n4  6.132376\n5  5.651274\n```\n### Model fit\n```python\nimport stochax as sx\n\nabm = sx.ArithmeticBrownianMotion(mu=0.25, sigma=1.7)\nrealizations = abm.simulate(\n    initial_value=1,\n    n_steps=100\n)\ngbm = sx.GeometricBrownianMotion()\ngbm.calibrate(realizations)\n\nprint(gbm)\n```\n```\nGeometricBrownianMotion(mu=0.08278617288074738, sigma=0.33330614384487633)\n```\nFurther examples can be found the [examples](examples) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagdiiura%2Fstochax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagdiiura%2Fstochax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagdiiura%2Fstochax/lists"}