# Send Finam to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "finam",
    "name": "Finam",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Alexander-Panov/finam",
    "canonicalUrl": "https://clawhub.ai/Alexander-Panov/finam",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/finam",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=finam",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "assets/top_us_equities.json",
      "assets/equities.json",
      "assets/openapi.json",
      "assets/top_ru_equities.json",
      "assets/exchanges.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "finam",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T06:34:43.845Z",
      "expiresAt": "2026-05-10T06:34:43.845Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=finam",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=finam",
        "contentDisposition": "attachment; filename=\"finam-1.0.4.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "finam"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/finam"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/finam",
    "downloadUrl": "https://openagent3.xyz/downloads/finam",
    "agentUrl": "https://openagent3.xyz/skills/finam/agent",
    "manifestUrl": "https://openagent3.xyz/skills/finam/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/finam/agent.md"
  }
}
```
## Documentation

### Setup

Prerequisites: $FINAM_API_KEY and $FINAM_ACCOUNT_ID must be set in your environment.

If not configured by environment, follow these steps:

Register and obtain your API Key from tokens page
Obtain your Account ID from your Finam account dashboard
Set environment variables:

export FINAM_API_KEY="your_api_key_here"
export FINAM_ACCOUNT_ID="your_account_id_here"

Obtain JWT token before using the API:

export FINAM_JWT_TOKEN=$(curl -sL "https://api.finam.ru/v1/sessions" \\
--header "Content-Type: application/json" \\
--data '{"secret": "'"$FINAM_API_KEY"'"}' | jq -r '.token')

Note: Token expires after 15 minutes. Re-run this command if you receive authentication errors.

### List Available Exchanges and Equities

Symbol Format: All symbols must be in ticker@mic format (e.g., SBER@MISX)
Base MIC Codes:

MISX - Moscow Exchange
RUSX - RTS
XNGS - NASDAQ/NGS
XNMS - NASDAQ/NNS
XNYS - New York Stock Exchange

View all supported exchanges with their MIC codes:

jq -r '.exchanges[] | "\\(.mic) - \\(.name)"' assets/exchanges.json

List stocks available on a specific exchange:

MIC="MISX"
LIMIT=20
jq -r ".$MIC[:$LIMIT] | .[] | \\"\\(.symbol) - \\(.name)\\"" assets/equities.json

### Search Assets by Name

Find a stock by name (case-insensitive) across all exchanges:

QUERY="apple"
jq -r --arg q "$QUERY" 'to_entries[] | .value[] | select(.name | ascii_downcase | contains($q)) | "\\(.symbol) - \\(.name)"' assets/equities.json

### Get Top N Stocks by Volume

Pre-ranked lists of the 100 most liquid equities for each market, ordered by trading volume descending:

N=10
jq -r ".[:$N] | .[] | \\"\\(.ticker) - \\(.name)\\"" assets/top_ru_equities.json

N=10
jq -r ".[:$N] | .[] | \\"\\(.ticker) - \\(.name)\\"" assets/top_us_equities.json

### Get Account Portfolio

Retrieve portfolio information including positions, balances, and P&L:

curl -sL "https://api.finam.ru/v1/accounts/$FINAM_ACCOUNT_ID" \\
  --header "Authorization: $FINAM_JWT_TOKEN" | jq

### Get Latest Quote

Retrieve current bid/ask prices and last trade:

SYMBOL="SBER@MISX"
curl -sL "https://api.finam.ru/v1/instruments/$SYMBOL/quotes/latest" \\
  --header "Authorization: $FINAM_JWT_TOKEN" | jq

### Get Order Book (Depth)

View current market depth with bid/ask levels:

SYMBOL="SBER@MISX"
curl -sL "https://api.finam.ru/v1/instruments/$SYMBOL/orderbook" \\
  --header "Authorization: $FINAM_JWT_TOKEN" | jq

### Get Recent Trades

List the most recent executed trades:

SYMBOL="SBER@MISX"
curl -sL "https://api.finam.ru/v1/instruments/$SYMBOL/trades/latest" \\
  --header "Authorization: $FINAM_JWT_TOKEN" | jq

### Get Historical Candles (OHLCV)

Retrieve historical price data with specified timeframe:

SYMBOL="SBER@MISX"
TIMEFRAME="TIME_FRAME_D"
START_TIME="2024-01-01T00:00:00Z"
END_TIME="2024-04-01T00:00:00Z"
curl -sL "https://api.finam.ru/v1/instruments/$SYMBOL/bars?timeframe=$TIMEFRAME&interval.startTime=$START_TIME&interval.endTime=$END_TIME" \\
  --header "Authorization: $FINAM_JWT_TOKEN" | jq

Available Timeframes:

TIME_FRAME_M1, M5, M15, M30 - Minutes (1, 5, 15, 30)
TIME_FRAME_H1, H2, H4, H8 - Hours (1, 2, 4, 8)
TIME_FRAME_D - Daily
TIME_FRAME_W - Weekly
TIME_FRAME_MN - Monthly
TIME_FRAME_QR - Quarterly

Date Format (RFC 3339):

Format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DDTHH:MM:SS+HH:MM
startTime - Inclusive (interval start, included in results)
endTime - Exclusive (interval end, NOT included in results)
Examples:

2024-01-15T10:30:00Z (UTC)
2024-01-15T10:30:00+03:00 (Moscow time, UTC+3)

### Get Latest Market News

Fetch and display the latest news headlines. No JWT token required.

Russian market news

curl -sL "https://www.finam.ru/analysis/conews/rsspoint/" | python3 -c "
import sys, xml.etree.ElementTree as ET
root = ET.parse(sys.stdin).getroot()
for item in reversed(root.findall('.//item')):
    print(f'* {item.findtext('title','')}. {item.findtext('description','').split('...')[0]}')
"

US market news

curl -sL "https://www.finam.ru/international/advanced/rsspoint/" | python3 -c "
import sys, xml.etree.ElementTree as ET
root = ET.parse(sys.stdin).getroot()
for item in reversed(root.findall('.//item')):
    print(f'* {item.findtext('title','')}. {item.findtext('description','').split('...')[0]}')
"

Parameters:

Change [:10] to any number to control how many headlines to display

### Order Management

IMPORTANT: Before placing or cancelling any order, you MUST explicitly confirm the details with the user and receive their approval. State the full order parameters (symbol, side, quantity, type, price) and wait for confirmation before executing.

### Place Order

Order Types:

ORDER_TYPE_MARKET - Market order (executes immediately, no limitPrice required)
ORDER_TYPE_LIMIT - Limit order (requires limitPrice)

curl -sL "https://api.finam.ru/v1/accounts/$FINAM_ACCOUNT_ID/orders" \\
  --header "Authorization: $FINAM_JWT_TOKEN" \\
  --header "Content-Type: application/json" \\
  --data "$(jq -n \\
    --arg symbol   "SBER@MISX" \\
    --arg quantity "10" \\
    --arg side     "SIDE_BUY" \\
    --arg type     "ORDER_TYPE_LIMIT" \\
    --arg price    "310.50" \\
    '{symbol: $symbol, quantity: {value: $quantity}, side: $side, type: $type, limitPrice: {value: $price}}')" \\
  | jq

Parameters:

symbol - Instrument (e.g., SBER@MISX)
quantity.value - Number of shares/contracts
side - SIDE_BUY or SIDE_SELL
type - ORDER_TYPE_MARKET or ORDER_TYPE_LIMIT
limitPrice - Only for ORDER_TYPE_LIMIT (omit for market orders)

### Get Order Status

Check the status of a specific order:

ORDER_ID="12345678"
curl -sL "https://api.finam.ru/v1/accounts/$FINAM_ACCOUNT_ID/orders/$ORDER_ID" \\
  --header "Authorization: $FINAM_JWT_TOKEN" | jq

### Cancel Order

Cancel a pending order:

ORDER_ID="12345678"
curl -sL --request DELETE "https://api.finam.ru/v1/accounts/$FINAM_ACCOUNT_ID/orders/$ORDER_ID" \\
  --header "Authorization: $FINAM_JWT_TOKEN" | jq

### Volatility Scanner

Scans the top-100 stocks for a given market and prints the most volatile ones based on annualized historical volatility (close-to-close, last 60 days).

Usage:

python3 scripts/volatility.py [ru|us] [N]

Arguments:

ru / us — market to scan (default: ru)
N — number of top results to display (default: 10)

Examples:

# Top 10 most volatile Russian stocks
python3 scripts/volatility.py ru 10

# Top 5 most volatile US stocks
python3 scripts/volatility.py us 5

See API Reference for full Finam Trade API details.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Alexander-Panov
- Version: 0.0.10
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T06:34:43.845Z
- Expires at: 2026-05-10T06:34:43.845Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/finam)
- [Send to Agent page](https://openagent3.xyz/skills/finam/agent)
- [JSON manifest](https://openagent3.xyz/skills/finam/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/finam/agent.md)
- [Download page](https://openagent3.xyz/downloads/finam)