Kraken DaD

Kraken DaD is a Kraken-native low-code strategy builder. It allows traders to visually compose strategies using a "Node-RED for Trading" interface, and execute them in live mode.

Websitegithub
  • 750 Raised
  • 608 Views
  • 8 Judges

Categories

  • Strategy Builder

Gallery

Description

Building automated trading strategies on Kraken currently requires a high technical barrier, forcing traders to manually manage WebSocket state, API authentication, and complex execution logic. This manual approach often leads to "spaghetti code" and increased risk of execution errors. Kraken DaD abstracts this complexity into a visual, low-code interface, allowing traders to focus on strategy logic and risk management without writing a single line of backend code.

2. KrakenDaD

Kraken DaD (Drag-and-Drop) is a professional-grade visual strategy composer built specifically for the Kraken ecosystem. Inspired by the logic-flow architecture of Node-RED and the high-performance aesthetic of Kraken Pro, it enables traders to visually chain market data, technical indicators, and execution intents into robust trading workflows. The platform features a unique Directed Acyclic Graph (DAG) execution engine that ensures deterministic logic, a real-time "Market Context" dock for live monitoring, and a rigorous dry-run system that leverages Kraken's native validation API to guarantee safety.

3. Key Features

  • Visual Strategy Composition: A high-performance React Flow canvas for drag-and-drop strategy building with typed input/output handles.
  • Real-Time Market Context: Integrated Server-Sent Events (SSE) and WebSocket streams providing live ticker, spread, and OHLC data directly on the canvas.
  • Safety-First Architecture: Features a mandatory Dry-Run Mode by default, utilizing Kraken’s validate=true parameter to test logic against real exchange feedback without risking capital.
  • Topological Execution Engine: A backend engine that handles complex strategy dependencies using a Directed Acyclic Graph (DAG) for deterministic execution.
  • Monorepo Scalability: Architected with shared, strictly-typed packages (strategy-core, kraken-client) that decouple business logic from the UI.
  • Kraken Pro Aesthetic: A dense, dark-mode professional UX designed to feel like a native extension of the Kraken trading suite.

4. Technical Highlights

Kraken DaD is built with a modern TypeScript Monorepo stack (Fastify backend, Vite + React frontend) chosen for high performance and strict type safety. A key engineering decision was the implementation of a Topological Sort execution model, ensuring that data dependencies are resolved sequentially before logic nodes execute. Instead of traditional client-side WebSocket management, we implemented a backend-driven Server-Sent Events (SSE) stream to provide a lightweight, unidirectional "Market Context" that reduces frontend complexity. For security, we designed an in-memory credential handler that ensures API keys never touch the browser, maintaining a production-ready security posture.

5. How It Works

  • Setup: Acess KrakenDaD
  • Compose: Drag blocks from the Palette (Start → Market Data → Condition → Execution) onto the canvas. GIF
  • Configure: Connect nodes via the "Control" (step-by-step) GIF
  • API: To enable live trading, set your API keys in the settings icon and generate the required API keys on the Kraken Pro platform. GIF
  • Execute: Run your workflows and start using them. GIF

6. Demo & Documentation

  1. Live Demo: KrakenDaD
  2. Video Walkthrough: Demo
  3. Documentation: Comprehensive documentation is included in the 
    /docs directory, covering execution lifecycles, block taxonomy, and a reuse guide for developers.
  4. Visuals: Highly dense, dark-mode UI screenshots showing the DAG-based strategy flow and the real-time Market Context dock.

7. Future Enhancements

  • Backtesting Suite: Integration with historical Kraken OHLC data to run strategies against past market conditions with automatic PnL reporting.
  • Advanced Indicator Blocks: Expansion of the strategy-core to include technical indicators like RSI, MACD, and Bollinger Bands via dedicated library nodes.
  • Template Gallery: A community-driven repository of common strategy skeletons (e.g., Grid Trading, Mean Reversion) to accelerate trader onboarding.
  • Mobile-Optimized Dashboard: A read-only mobile view to monitor active strategy performance and trigger manual "Kill Switches" on the move.

Attachments