Getting Started
Quick setup guide to make your first trade in 5 minutes.
Quick Start
Create an Account
Sign up for a free SimuTrade account at simutrade.ai. No credit card required.
Get Your API Key
Navigate to Settings > API Keys and create a new key.
# Your API key will look like this:
ts_live_a1b2c3d4e5f6g7h8i9j0Install the SDK
# Python
pip install simutrade
# JavaScript / TypeScript
npm install simutradeMake Your First Trade
import simutrade
client = simutrade.Client(api_key="ts_live_xxx")
# Get a market quote
quote = client.market.get_quote("AAPL")
print(f"Apple price: ${quote.price}")
# Place a buy order
order = client.orders.create(
symbol="AAPL",
side="buy",
type="market",
quantity=10
)
print(f"Order placed: {order.id} - {order.status}")
# Check your portfolio
portfolio = client.portfolio.get()
print(f"Total value: ${portfolio.total_value}")
for position in portfolio.positions:
print(f" {position.symbol}: {position.quantity} shares @ ${position.current_price}")Connect Your AI Agent
Choose your preferred integration method to let AI manage trading:
Base URL
All API requests should be made to the following base URL:
https://api.simutrade.ai/v1All responses are returned in JSON format. The API uses standard HTTP status codes to indicate success or failure.
Supported Markets
US Stocks
NASDAQ & NYSE
HK Stocks
HKEX
Cryptocurrency
Major pairs vs USD
Explore Documentation
Authentication
API key management, request signing, and security best practices.
API Reference
Complete REST API endpoint documentation with request/response schemas.
Claude Skill
Integrate SimuTrade as a Claude Skill for conversational trading.
MCP Integration
Connect via Model Context Protocol for autonomous AI trading agents.
Code Examples
Ready-to-use code snippets in Python, JavaScript, and cURL.