Skip to content
Back to skills

Rithmic Networking

ASecurity

Expert-level Rithmic API networking reference for DEEP6. All patterns verified live on 2026-05-20.

  • 2 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added October 11, 2026
securitypythongodebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add teaceo-debug/DEEP6 --skill rithmic-networking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rithmic Networking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rithmic Networking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/teaceo-debug-rithmic-networking/badge)](https://www.skillsdirectory.com/skills/teaceo-debug-rithmic-networking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Rithmic Networking Skill

Expert-level Rithmic API networking reference for DEEP6. All patterns verified live on 2026-05-20.

## Invoke this skill when:
- Connecting to Rithmic via async-rithmic (any environment: test, paper, live, prop firm)
- Debugging Rithmic connection errors (rpCode 13, ForcedLogout, authentication, heartbeat)
- Subscribing to market data (L2/L3 depth, ticks, BBO)
- Setting up a new Rithmic service (MBO levels, feed adapter, execution broker)
- Configuring environment variables for Rithmic (RITHMIC_USER, RITHMIC_URI, etc.)
- Working with Rithmic gateway discovery, system names, or conformance
- Troubleshooting DOM/tick data feed issues from Rithmic
- Managing multi-service Rithmic connections (avoiding ForcedLogout from concurrent sessions)
- Understanding R|Trader Pro native infrastructure (servers, ports, regions, login agents)

## Skill Files

| File | Purpose |
|------|---------|
| `knowledge.md` | **Complete reference** — 17 sections covering credentials, gateways, system names, infrastructure, connection patterns, data formats, error troubleshooting, conformance |
| `rithmic-connections.md` | **Quick-reference** — copy-paste .env, working Python snippet, data format cheat sheet, common pitfalls |

## Critical Knowledge (load before any Rithmic work)

1. **System**: `Rithmic Paper Trading` (not Apex) — case-sensitive
2. **App name**: `migo:DEEP6-sim` only — `migo:DEEP6` gets rpCode 13
3. **L2 depth**: Use `subscribe_to_market_depth("NQ", "CME", 0.0)` — NOT `subscribe_to_market_data(ORDER_BOOK)`
4. **Tick format**: Dict with `tick["trade_price"]`, `tick["trade_size"]`, `tick["aggressor"]`
5. **Depth format**: Protobuf — use `update.ListFields()` to extract fields
6. **Issue #49**: Always `await asyncio.sleep(0.5)` after `client.connect()`

## Workflow

1. **Identify the environment**: test / paper / live / prop-firm — determines gateway URL and system name
2. **Check rithmic-connections.md**: quick-reference for credentials, .env, code snippets
3. **Check knowledge.md**: full gateway table, system names, infrastructure, error troubleshooting
4. **Follow connection pattern**: Issue #49 workaround, plant selection, correct subscription methods
5. **Handle errors**: use the troubleshooting decision tree in knowledge.md Section 12
6. **For new services**: follow the service template pattern with FreezeGuard and reconnection

## Key Codebase Files

| File | Purpose |
|------|---------|
| `scripts/mbo_levels_service.py` | Standalone MBO levels service (L2 DOM tracking) |
| `ninjatrader/simulator/rithmic/rithmic_feed.py` | Feed adapter with all gateway URLs |
| `deep6v2/data/rithmic_client.py` | RithmicClient wrapper with state machine |
| `deep6v2/config/rithmic.py` | Pydantic configuration class |
| `deep6/data/rithmic.py` | Connection factory with aggressor gate |
| `deep6/state/connection.py` | FreezeGuard state machine |
| `.env` / `.env.example` | Environment variable templates |

Files in this skill

  • SKILL.md2.9 KB
  • knowledge.md28.6 KB
  • rithmic-connections.md5.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.