Skip to main content

Examples

The vectrade-examples repository contains runnable code samples for every major use case.

Repository Structure

Python Quickstart

TypeScript Quickstart

AI Agent with Tool Use

MCP Integration (Claude Desktop)

Then ask Claude: “What’s TSLA trading at? Show me the options chain expiring this Friday.”

Webhook Receiver (Python)

Jupyter Notebook

Run the Examples

Bot Trading & AI Agent Examples

The use-cases/ai-agent-trading/ directory contains complete working examples for bot trading:
VecTrade does NOT host or run AI models. You bring your own LLM (or use no AI at all). The MCP server exposes trading tools that any MCP-compatible agent can discover and use.
See the Bot Trading Guide for full API reference.

vectrade-examples on GitHub

Full source code with CI-tested examples for every SDK.