Metadata-Version: 2.4
Name: langchain-tradingcalc
Version: 0.1.0
Summary: TradingCalc tools for LangChain: deterministic options, forex, risk and trading math from the TradingCalc MCP server
License: MIT
Project-URL: Homepage, https://tradingcalc.io
Project-URL: Docs, https://docs.tradingcalc.io/api
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: langchain-core>=0.3
Requires-Dist: langchain-mcp-adapters>=0.1

# langchain-tradingcalc

Every TradingCalc tool (options, forex, risk and stats, prediction markets, on-chain, perp futures) as a LangChain tool.
The math runs on the TradingCalc server, every result is signed; this package only connects and makes tool names
acceptable to OpenAI and Anthropic function calling (the dot in `workflow.run_black_scholes` becomes `_`).

```python
# pip install langchain-tradingcalc
from langchain_tradingcalc import TradingCalcToolkit

tools = TradingCalcToolkit().get_tools()          # sync
# tools = await TradingCalcToolkit().aget_tools() # inside an event loop
# then: create_agent(model, tools)
```

Docs: https://docs.tradingcalc.io/api. Test (live, needs network): `pytest tests`.
