PyToros
Download leveraged token data from Toros Finance.
Installation
pip install pytoros
Usage
import pytoros as toros
token = Token("ARB:BTCBULL3X")
history = token.history()
print(history)
API Documentation
Token Class
Token(ticker: str)
- Parameters:
ticker(str): The token's identifier (e.g.,ARB:BTCBULL3X).
- Description: Initializes the Token object for fetching data.
history(period: str = "1y", interval: str = "1d")
- Parameters:
period(str): Time range for historical data. Options:1d,1w,1m,1y(default:1y).interval(str): Time interval between data points. Options:1h,4h,1d,1w(default:1d).
- Returns:
A
pandas.DataFramecontaining historical price data with the following columns:Date: Timestamp of the data point.Open: Opening price.Close: Closing price.High: Highest price during the interval.Low: Lowest price during the interval.
Metadata
Release files for pytoros 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytoros-0.1.4.tar.gz | 5.1 kB | With provenance | Details for pytoros-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytoros-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for pytoros-0.1.4-py3-none-any.whl |
Total release size: 9.7 kB
Release files / pytoros-0.1.4.tar.gz
| Download URL | pytoros-0.1.4.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ff622106b6aa51e628490142b2030fc27388b1134c4da7a9b0507247c5fd2c8
|
|
BLAKE2b-256 checksum How to use checksums |
ab6e3d5862b6fc75e84ee0cc485b34d2b5c008b7713973b76e739b2e48c0fefd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.
Transparency logRelease files / pytoros-0.1.4-py3-none-any.whl
| Download URL | pytoros-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0616b1ad27586c7bb2a91c58284f94a7c4d4324cd78a071883c9126f47ce3af9
|
|
BLAKE2b-256 checksum How to use checksums |
f4becc033230a7afa1427f92b4ed374e85fd4f51ef6fb249518ecd7bd880714d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.
Transparency logSecurity for pytoros 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pytoros-0.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 8, 2024.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.