Skip to main content

langchain-tradekix 📊

Financial market data tools for LangChain agents, powered by TradeKix.

Installation

pip install langchain-tradekix

Quick Start

export TRADEKIX_API_KEY=tk_live_your_key_here
from langchain_tradekix import TradekixMarketOverviewTool, TradekixPricesTool, TradekixCongressionalTradesTool
from langchain.agents import initialize_agent, AgentType
from langchain_openai import ChatOpenAI

tools = [
    TradekixMarketOverviewTool(),
    TradekixPricesTool(),
    TradekixCongressionalTradesTool(),
]

llm = ChatOpenAI(model="gpt-4")
agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True)
agent.run("What's the market doing today? Any congress members trading NVDA?")

Get a Free API Key

curl -X POST https://tradekix-alpha.vercel.app/api/v1/connect \
  -H "Content-Type: application/json" \
  -d '{"agent_name": "MyAgent", "email": "you@example.com", "source": "langchain"}'

LangChain signups get Developer tier — 100 calls/day free.

Available Tools

Tool Description
TradekixMarketOverviewTool Full market snapshot — indices, forex, events, alerts, news
TradekixPricesTool Stock & crypto prices (historical + current)
TradekixIndicesTool Major market indices by region/country
TradekixForexTool Forex exchange rates
TradekixEarningsTool Earnings calendar
TradekixEconomicEventsTool Economic events (FOMC, CPI, jobs)
TradekixCongressionalTradesTool Congressional stock trades with conflict detection
TradekixSentimentTool Social media sentiment
TradekixTweetsTool Curated financial tweets
TradekixNewsTool AI-curated financial news

Pricing

Tier Calls/Day Price
Developer 100 Free
Agent Pro 2,000 $9/mo
Enterprise 50,000 Contact us

Links

License

MIT

Metadata

Release files for langchain-tradekix 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-tradekix 0.1.0
File Size Uploaded
langchain_tradekix-0.1.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-tradekix 0.1.0
File Interpreter ABI Platform
langchain_tradekix-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / langchain_tradekix-0.1.0.tar.gz

Download URL langchain_tradekix-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d3196b1e02fef8eb3e5dbca3f458888f244425ad4371f679e908857e775f0bc4
BLAKE2b-256 checksum
How to use checksums
6bdee27cbbe132c932121b94f8f7d0a368c09b3e8f14c1f7e83510a4b06a6751
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / langchain_tradekix-0.1.0-py3-none-any.whl

Download URL langchain_tradekix-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f83f2f9928d3d8d0a87c41e4b307e37d94fb3bad2a04849a3922f6ca6c2f3058
BLAKE2b-256 checksum
How to use checksums
c55474dbcec8f2fe54bf4000065aa31bc41d28ecd653d0d2a75633ea571e1a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page