> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectrade.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Get up and running with VecTrade in under 5 minutes.

# Quickstart

## 1. Get Your API Key

Sign up at [vectrade.io](https://vectrade.io/register) and copy your API key from the Keys page.

Set it as an environment variable:

```bash theme={null}
export VECTRADE_API_KEY="vq_your_key_here"
```

## 2. Install the SDK

<CodeGroup>
  ```bash Python theme={null}
  pip install vectrade
  ```

  ```bash TypeScript theme={null}
  npm install @vectrade/sdk
  ```

  ```bash Go CLI theme={null}
  brew install VecTrade-io/vectrade/vectrade
  # or
  go install github.com/VecTrade-io/vectrade-cli@latest
  ```
</CodeGroup>

## 3. Make Your First Request

<CodeGroup>
  ```python Python theme={null}
  from vectrade import VecTrade

  client = VecTrade()
  quote = client.quotes.get("AAPL")

  print(f"Symbol: {quote.symbol}")
  print(f"Price:  ${quote.price:.2f}")
  print(f"Change: {quote.change_pct:+.2f}%")
  print(f"Volume: {quote.volume:,}")
  ```

  ```typescript TypeScript theme={null}
  import { VecTrade } from '@vectrade/sdk';

  const client = new VecTrade();
  const quote = await client.quotes.get('AAPL');

  console.log(`Symbol: ${quote.ticker}`);
  console.log(`Price:  $${quote.price.toFixed(2)}`);
  console.log(`Change: ${quote.change_percent > 0 ? '+' : ''}${quote.change_percent.toFixed(2)}%`);
  console.log(`Volume: ${quote.volume.toLocaleString()}`);
  ```

  ```bash cURL theme={null}
  curl -H "X-API-Key: $VECTRADE_API_KEY" \
    https://api.vectrade.io/v1/vq/quotes/AAPL
  ```
</CodeGroup>

## 4. Technical Analysis & More

<CodeGroup>
  ```python Python theme={null}
  # Technical indicators
  tech = client.technicals.get("AAPL")
  print(f"Technical Score: {tech.technical_score}/100")
  print(f"RSI: {tech.indicators['rsi']['value']:.1f} ({tech.indicators['rsi']['signal']})")
  print(f"Trend: {tech.summary['trend']}")

  # Analyst consensus
  analyst = client.analyst.consensus("AAPL")
  print(f"Rating: {analyst.consensus} (Signal: {analyst.signal})")
  ```

  ```typescript TypeScript theme={null}
  // Technical indicators
  const tech = await client.technicals.get('AAPL');
  console.log(`Technical Score: ${tech.technical_score}/100`);
  console.log(`Trend: ${tech.summary?.trend}`);

  // Analyst consensus
  const analyst = await client.analyst.consensus('AAPL');
  console.log(`Rating: ${analyst.consensus} | Signal: ${analyst.signal}`);
  ```

  ```bash cURL theme={null}
  curl -H "X-API-Key: $VECTRADE_API_KEY" \
    https://api.vectrade.io/v1/vq/technical/AAPL
  ```
</CodeGroup>

## 5. Next Steps

* [Bot Trading Guide](/guides/bot-trading) — Create `tvt_` bot keys and run autonomous trading flows
* [Python SDK](/sdks/python) — Full Python reference
* [TypeScript SDK](/sdks/typescript) — Full TypeScript/Node.js reference
* [MCP Server](/sdks/mcp) — AI agent integration with 16 tools
* [Authentication Guide](/guides/authentication) — API key management
* [Examples](https://github.com/VecTrade-io/vectrade-examples) — Full working examples
