# Technical Integration Docs

## 📈 RWA World Stock Streams

This service lets you subscribe to minute-level delayed aggregate stock data for individual tickers. Data includes OHLCV (open, high, low, close, volume) for each symbol.

<br>

Browser Client to interact with data: <https://stocks.rwa.world/>

***

### 🔌 WebSocket Endpoint

wss\://ws.stocks.rwa.world

This WebSocket endpoint is always live. You can connect via browser, CLI, or any WebSocket-compatible client.

***

### 📥 Subscription Message Format

To receive updates, send a JSON message with an action and a list of symbols.

#### Subscribe

{

&#x20; "action": "subscribe",

&#x20; "symbols": \["AAPL", "MSFT"]

}

#### Unsubscribe

{

&#x20; "action": "unsubscribe",

&#x20; "symbols": \["MSFT"]

}

You can subscribe to multiple symbols at once. Each WebSocket connection is scoped to its own subscription state.

***

### 📤 Response Format

Once subscribed, you’ll receive JSON-formatted messages for each matching symbol.&#x20;

#### Example:

{

&#x20; "ev": "AM",

&#x20; "sym": "AAPL",

&#x20; "v": 4100,

&#x20; "av": 8200010,

&#x20; "op": 172.31,

&#x20; "vw": 173.20,

&#x20; "o": 173.00,

&#x20; "c": 173.22,

&#x20; "h": 173.25,

&#x20; "l": 172.75,

&#x20; "a": 172.60,

&#x20; "z": 675,

&#x20; "s": 1713642540000,

&#x20; "e": 1713642600000

}

#### Field Descriptions:

| Field | Description                                     |
| ----- | ----------------------------------------------- |
| ev    | Event type, always AM for aggregate minute data |
| sym   | Ticker symbol                                   |
| v     | Volume for the minute                           |
| av    | Accumulated volume for the day                  |
| op    | Official opening price for the day              |
| vw    | Volume-weighted average price for this tick     |
| o     | Opening price of the minute window              |
| c     | Closing price of the minute window              |
| h     | High price during the minute                    |
| l     | Low price during the minute                     |
| a     | Daily VWAP up to this point                     |
| z     | Average trade size                              |
| s     | Start timestamp (Unix ms)                       |
| e     | End timestamp (Unix ms)                         |

***

### 🧪 Quick Start Example (CLI)

#### Using wscat:

npx wscat -c wss\://ws.stocks.rwa.world

Then paste this:

{"action": "subscribe", "symbols": \["AAPL"]}

You’ll start receiving minute-by-minute updates for AAPL.

***

### ❓ FAQ

#### What symbols are supported?

All U.S. stock tickers — NYSE, NASDAQ, and OTC.

#### Is the data real-time?

No — this feed uses a 15-minute delayed aggregate stream.

<br>

***

© 2025 RWA World. All rights reserved.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rwadatafeeds.gitbook.io/feeds/technical-integration-docs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
