Siften
A Python library for Siften.
Installation
pip install siften
Quick Start
from siften import execute_strategy
# Execute a trading strategy
strategy_result = execute_strategy(
user_id="user123",
agent_id="agent456",
symbol="BTCUSDT",
quantity=0.001,
exchange="Binance",
strategy="Trend Following",
stop_loss=0.02, # 2% stop loss
profit_take=0.05 # 5% take profit
)
Trading Strategy Execution
The execute_strategy function allows you to implement trading strategies with customizable parameters:
| Parameter | Type | Description |
|---|---|---|
| user_id | str | User identifier |
| agent_id | str | Agent identifier |
| symbol | str | Trading pair symbol |
| quantity | float | Trading quantity |
| exchange | str | Exchange name |
| strategy | str | Strategy name |
| stop_loss | float | Stop loss percentage |
| profit_take | float | Take profit percentage |
| time_left | int | Remaining execution time (optional) |
| request_id | str | Unique request identifier (optional) |
Development
# Create virtual environment
python -m venv venv
source venv/bin/activate
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
Metadata
Release files for siften 0.1.0
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 | |
|---|---|---|---|---|
| siften-0.1.0.tar.gz | 24.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| siften-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.1 kB
Release files / siften-0.1.0.tar.gz
| Download URL | siften-0.1.0.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e676229d861a8595a6af156a5145ffd549783f8d79c1f4d1acfdd1da57828c11
|
|
BLAKE2b-256 checksum How to use checksums |
43a06e09f0403eca25339d67be963e3016052fc7d36ab42f53096bd7bb4a9ad3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / siften-0.1.0-py3-none-any.whl
| Download URL | siften-0.1.0-py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc2aeea30d6586c715a8098cf3f1a585b492ee20c4c7e6975d388c5d0862ec9d
|
|
BLAKE2b-256 checksum How to use checksums |
db76c29bcbbe620225645a369393dac07f71a0e9f0718e790b7a271878a5b583
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Security for siften 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.