An unoffical pythonic wrapper for Toros Finance
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytoros-0.1.1.tar.gz.
File metadata
- Download URL: pytoros-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c22ee573d8510a547ad3a1b706b388a0eff3b42a2f3bd1a611bd0b76278f72c
|
|
| MD5 |
dee0833fd92aa151438865ebe63b2b13
|
|
| BLAKE2b-256 |
857eee10a78b2c69c12c2180caa7f05044fdd132c63fb205c8625aaed70f57a9
|
Provenance
The following attestation bundles were made for pytoros-0.1.1.tar.gz:
Publisher:
python-publish.yml on dhruvan2006/pytoros
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytoros-0.1.1.tar.gz -
Subject digest:
3c22ee573d8510a547ad3a1b706b388a0eff3b42a2f3bd1a611bd0b76278f72c - Sigstore transparency entry: 151465928
- Sigstore integration time:
-
Permalink:
dhruvan2006/pytoros@bb7d0aa77bb37528cea549fc89ab360c2d1833db -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/dhruvan2006
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@bb7d0aa77bb37528cea549fc89ab360c2d1833db -
Trigger Event:
release
-
Statement type:
File details
Details for the file pytoros-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pytoros-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ed9ffbf5e8b08398cc5f21036fa850960e6c1bf6a5a6a489789dac335b34893
|
|
| MD5 |
adf7d8796f9d44c173e5971f6de2ff95
|
|
| BLAKE2b-256 |
0ca3666ccfc0a709128d9b6bd406c55eedb16a1aa5de206f7f7a37d7512a6057
|
Provenance
The following attestation bundles were made for pytoros-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on dhruvan2006/pytoros
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytoros-0.1.1-py3-none-any.whl -
Subject digest:
4ed9ffbf5e8b08398cc5f21036fa850960e6c1bf6a5a6a489789dac335b34893 - Sigstore transparency entry: 151465931
- Sigstore integration time:
-
Permalink:
dhruvan2006/pytoros@bb7d0aa77bb37528cea549fc89ab360c2d1833db -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/dhruvan2006
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@bb7d0aa77bb37528cea549fc89ab360c2d1833db -
Trigger Event:
release
-
Statement type: