LangChain tools for the SignalFuse crypto trading signal API
Project description
langchain-signalfuse
LangChain tools for the SignalFuse crypto trading signal API.
Install
pip install langchain-signalfuse
Usage
from langchain_signalfuse import SignalFuseTool, MacroRegimeTool
tools = [
SignalFuseTool(credit_token="your-token"),
MacroRegimeTool(credit_token="your-token"),
]
# Drop into any LangChain agent
from langchain.agents import initialize_agent, AgentType
agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION)
agent.run("What's the current signal for ETH?")
SignalFuseTool
Returns a fused directional signal for a given crypto asset (e.g. BTC, ETH, SOL), including signal strength, direction, confidence, and macro regime.
MacroRegimeTool
Returns the current macro risk regime (risk_on / risk_off / neutral) for portfolio-level decisions.
API
Base URL: https://api.signalfuse.co
Get 25 free credits (no signup):
curl -X POST https://api.signalfuse.co/v1/credits/trial \
-H "Content-Type: application/json" \
-d '{"wallet":"YOUR_ETH_ADDRESS"}'
This tool uses credit tokens for authentication. For x402 per-call payment (automatic USDC on Base), use the starter bot which has full x402 SDK integration.
Disclaimer
SignalFuse provides a data fusion API, not financial advice. Signals are mathematical composites that can be wrong. Trade at your own risk.
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 langchain_signalfuse-0.1.2.tar.gz.
File metadata
- Download URL: langchain_signalfuse-0.1.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
948286b6ed45893c711a035393b9b3277c65021f5540df6b019b6bb75caf0c1c
|
|
| MD5 |
a3fed39194f00ed49bfea51cc74d2ce5
|
|
| BLAKE2b-256 |
3e34002304d5e489845b26f8bfa47d5a71b83728ddab1c2d9cba78de47413287
|
File details
Details for the file langchain_signalfuse-0.1.2-py3-none-any.whl.
File metadata
- Download URL: langchain_signalfuse-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6575921801ddbf5263151267425a6269bdfb3402823c37b3498747a75175937
|
|
| MD5 |
432f096792bd58fce5a22510638daa66
|
|
| BLAKE2b-256 |
9afb1fe1b42290027b080f99be79da30822ead4169834717ccdb71741a4941d8
|