{"id":22311799,"url":"https://github.com/dhruvan2006/pytoros","last_synced_at":"2025-10-14T04:30:20.742Z","repository":{"id":264695263,"uuid":"891453001","full_name":"dhruvan2006/pytoros","owner":"dhruvan2006","description":"Download leveraged token data from Toros Finance","archived":false,"fork":false,"pushed_at":"2024-12-08T12:34:47.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-15T21:36:19.275Z","etag":null,"topics":["cryptocurrency","finance","leverage","toros"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pytoros/","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/dhruvan2006.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2024-11-20T11:10:28.000Z","updated_at":"2025-06-21T16:44:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"59e60633-c5a6-4469-8d36-d13d9d17a91f","html_url":"https://github.com/dhruvan2006/pytoros","commit_stats":null,"previous_names":["dhruvan2006/pytoros"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dhruvan2006/pytoros","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhruvan2006%2Fpytoros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhruvan2006%2Fpytoros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhruvan2006%2Fpytoros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhruvan2006%2Fpytoros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhruvan2006","download_url":"https://codeload.github.com/dhruvan2006/pytoros/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhruvan2006%2Fpytoros/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017942,"owners_count":26086213,"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-10-14T02:00:06.444Z","response_time":60,"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":["cryptocurrency","finance","leverage","toros"],"created_at":"2024-12-03T21:28:58.176Z","updated_at":"2025-10-14T04:30:20.456Z","avatar_url":"https://github.com/dhruvan2006.png","language":"Python","readme":"# PyToros\n\nDownload leveraged token data from [Toros Finance](https://toros.finance/).\n\n[![PyPI Version](https://img.shields.io/pypi/v/pytoros)](https://github.com/dhruvan2006/pytoros)\n[![codecov](https://codecov.io/github/dhruvan2006/pytoros/graph/badge.svg?token=8WH1LQUOGP)](https://codecov.io/github/dhruvan2006/pytoros)\n[![Monthly Downloads](https://img.shields.io/pypi/dm/pytoros)](https://github.com/dhruvan2006/pytoros)\n[![License](https://img.shields.io/github/license/dhruvan2006/pytoros)](https://github.com/dhruvan2006/pytoros)\n\n## Installation\n```bash\npip install pytoros\n```\n\n## Usage\n```python\nimport pytoros as toros\n\ntoken = Token(\"ARB:BTCBULL3X\")\nhistory = token.history()\nprint(history)\n```\n\n## API Documentation\n\n### Token Class\n\n#### `Token(ticker: str)`\n- **Parameters**:\n  - `ticker` (str): The token's identifier (e.g., `ARB:BTCBULL3X`).\n- **Description**:\n  Initializes the Token object for fetching data.\n\n#### `history(period: str = \"1y\", interval: str = \"1d\")`\n- **Parameters**:\n  - `period` (str): Time range for historical data. Options: `1d`, `1w`, `1m`, `1y` (default: `1y`).\n  - `interval` (str): Time interval between data points. Options: `1h`, `4h`, `1d`, `1w` (default: `1d`).\n- **Returns**:\n  A `pandas.DataFrame` containing historical price data with the following columns:\n  - `Date`: Timestamp of the data point.\n  - `Open`: Opening price.\n  - `Close`: Closing price.\n  - `High`: Highest price during the interval.\n  - `Low`: Lowest price during the interval.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhruvan2006%2Fpytoros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhruvan2006%2Fpytoros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhruvan2006%2Fpytoros/lists"}