Python client for SignalFuse trading intelligence API
Project description
signalfuse
Python client for the SignalFuse trading intelligence API.
Fused signals combining sentiment, macro regime, and market structure for crypto markets.
Install
pip install signalfuse
Quick start
from signalfuse import SignalFuseClient
client = SignalFuseClient(credit_token="your-token")
signal = client.get_signal("BTC")
print(signal)
Get a free trial token
curl -X POST https://api.signalfuse.co/v1/credits/trial \
-H "Content-Type: application/json" \
-d '{"wallet": "0xYourWalletAddress"}'
Usage
Sync client
from signalfuse import SignalFuseClient
with SignalFuseClient(credit_token="your-token") as client:
# Directional signal for a single asset
signal = client.get_signal("ETH")
# Batch signals for all supported assets
signals = client.get_signals()
# Sentiment breakdown
sentiment = client.get_sentiment("BTC")
# Macro risk regime
regime = client.get_regime()
# Strategy Arena
leaderboard = client.get_arena_leaderboard()
arena_signal = client.get_arena_signal("momentum_v1", "BTC")
# Pricing info
pricing = client.get_pricing()
Async client
import asyncio
from signalfuse import AsyncSignalFuseClient
async def main():
async with AsyncSignalFuseClient(credit_token="your-token") as client:
signal = await client.get_signal("BTC")
regime = await client.get_regime()
print(signal, regime)
asyncio.run(main())
Authentication
SignalFuse supports two payment modes:
- Credit tokens (simplest) -- get 25 free trial calls, then buy packs (500 calls / $4, 5000 calls / $30).
- x402 micropayments -- automatic per-call USDC payments on Base. See x402.org for details.
This SDK uses credit tokens. Pass your token when creating the client:
client = SignalFuseClient(credit_token="sf_abc123...")
API reference
| Method | Endpoint | Description |
|---|---|---|
get_signal(symbol) |
GET /v1/signal/{symbol} |
Fused directional signal |
get_signals() |
GET /v1/signal/batch |
Batch signals for all assets |
get_sentiment(symbol) |
GET /v1/sentiment/{symbol} |
Sentiment breakdown |
get_regime() |
GET /v1/regime |
Macro risk regime |
get_arena_leaderboard() |
GET /v1/arena/leaderboard |
Strategy Arena leaderboard |
get_arena_signal(id, symbol) |
GET /v1/arena/{id}/{symbol} |
Arena strategy signal |
get_pricing() |
GET /v1/pricing |
Current API pricing |
License
MIT
Project details
Release history Release notifications | RSS feed
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 signalfuse-0.1.0.tar.gz.
File metadata
- Download URL: signalfuse-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03b814d98bdbc8095d851a034d0f8c21483afb9684f76138f1c22edce70d0ea1
|
|
| MD5 |
76ac205e5debe9fd09672abbbd59033b
|
|
| BLAKE2b-256 |
0c96a2f5222abf8d6f4b608bfa98c5256b95827b8b42769f91fe81dcb181dbe1
|
File details
Details for the file signalfuse-0.1.0-py3-none-any.whl.
File metadata
- Download URL: signalfuse-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0170a87397a3a6875982052024b58de998bcd8a652432751e47896095585038a
|
|
| MD5 |
516c5260cf95dcb7049da70cdb174345
|
|
| BLAKE2b-256 |
b3df7c5eb3aaa34c3c43b2e8d3a5bb2e128a90f3cba0e15f68ec837a3966fd7f
|