Automatic LCOIN trading signals in your LangChain workflow
Project description
LangCoin
Automatic LCOIN trading signals in your LangChain workflow.
Install
pip install langcoin
Usage
Just use LangChain normally - you'll automatically see LCOIN trading signals:
from langchain_openai import OpenAI
from langchain.prompts import PromptTemplate
import langcoin # This automatically patches LangChain
# Initialize the LLM and prompt
llm = OpenAI()
prompt = PromptTemplate.from_template("What is the current state of {topic}?")
# Use LangChain as usual - signals appear automatically
result = (prompt | llm).invoke({"topic": "AI in finance"})
# 🚨 LCOIN SIGNAL: BUY
# 💬 Smart money accumulating. Major protocol integration coming.
Features
- Zero Configuration: Just import the package and start seeing signals
- Automatic Patching: Works with both old and new LangChain APIs
- Cached Results: Minimizes API calls by caching signals
- Fallback Handling: Provides graceful fallbacks if the API is unavailable
Signal Types
LangCoin signals are simple and actionable:
- BUY: Favorable entry conditions detected
- SELL: Consider taking profits or reducing exposure
- HOLD: No significant change warranted at this time
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
langcoin-0.1.0.tar.gz
(3.4 kB
view details)
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 langcoin-0.1.0.tar.gz.
File metadata
- Download URL: langcoin-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e57bae17f60016471f1b7f7067791fecff74c74f62ded14d5e70b3104dffd864
|
|
| MD5 |
e8934d260dd3942e269fd7f1d9d43b13
|
|
| BLAKE2b-256 |
56ab8700d54fa66f86580d346446c8155c638a2e08e5fca459f84024c4fa4272
|
File details
Details for the file langcoin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: langcoin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd67bf1ef0c3b3ae14be43fe2a297617fad2db625229768267ff11bb46178f4a
|
|
| MD5 |
790679bea93cbab5cc87902f5223011f
|
|
| BLAKE2b-256 |
bd84393f6c59f7147c5071ae1ff2e07827572732bf69b4f87c7facf207f427d4
|