Skip to main content

TradeKix financial market data tools for LangChain agents

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_tradekix-0.1.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langchain_tradekix-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file langchain_tradekix-0.1.0.tar.gz.

File metadata

  • Download URL: langchain_tradekix-0.1.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for langchain_tradekix-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d3196b1e02fef8eb3e5dbca3f458888f244425ad4371f679e908857e775f0bc4
MD5 d851197869f44f372708988329683843
BLAKE2b-256 6bdee27cbbe132c932121b94f8f7d0a368c09b3e8f14c1f7e83510a4b06a6751

See more details on using hashes here.

File details

Details for the file langchain_tradekix-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_tradekix-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f83f2f9928d3d8d0a87c41e4b307e37d94fb3bad2a04849a3922f6ca6c2f3058
MD5 a47923efe09eed9f988c84e6bd9c07d0
BLAKE2b-256 c55474dbcec8f2fe54bf4000065aa31bc41d28ecd653d0d2a75633ea571e1a89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page