stockapis-tg
Telegram channel monitoring for trading signals - StockAPIs.
Install
pip install stockapis-tg
Usage
from stockapis_tg import TelegramSpy
spy = TelegramSpy(
api_id=12345,
api_hash="your_api_hash",
session_string="YOUR_SESSION_STRING",
channels=["crypto_signals"],
)
@spy.on_signal
async def handle_signal(signal):
print(f"Signal: {signal.action} {signal.symbol}")
await spy.start()
CLI
# Generate session string
telegram-spy auth --api-id 12345 --api-hash abc123
# Test session
telegram-spy test --session "1BQA..."
# List channels
telegram-spy channels --session "1BQA..."
# Run spy
telegram-spy run
License
MIT
Metadata
Release files for stockapis-tg 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 | Actions |
|---|---|---|---|---|
| stockapis_tg-0.1.0.tar.gz | 30.3 kB | Without provenance | Details for stockapis_tg-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stockapis_tg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for stockapis_tg-0.1.0-py3-none-any.whl |
Total release size: 70.4 kB
Release files / stockapis_tg-0.1.0.tar.gz
| Download URL | stockapis_tg-0.1.0.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
81aad7b40815417ac9cb94a9ff5f9ce19e96a3083fb096ce469a8fbe45488718
|
|
BLAKE2b-256 checksum How to use checksums |
89e60f18845b613adc92fc5e5d081358987dd0ae8434806355ed8ccc18a05615
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Release files / stockapis_tg-0.1.0-py3-none-any.whl
| Download URL | stockapis_tg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 40.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6a310c47d652e21566bcc664a12d302463daefe6436c8bc28ce48fe9fbb3671
|
|
BLAKE2b-256 checksum How to use checksums |
ac8abe69554c04208cdcaeda274ddf443b4274cc710fc4a4597c08b5c7a157f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.18
|
Security for stockapis-tg 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.