npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

arda-dao

v10.0.0

Published

ARDA DAO - Institutional-Grade Autonomous Trading Platform with ML-Enhanced Strategies

Readme

ARDA DAO v10.0.0 - Institutional-Grade Autonomous Trading

Version License: MIT Node.js Version npm

Autonomous Research & Development Architecture - An institutional-grade autonomous trading platform with ML-enhanced strategy evolution for cryptocurrency perpetual futures.

What's New in v10.0.0

  • Full CLI Support - Install globally via npm install -g arda-dao
  • 14 Hyperliquid Strategies - Optimized for perpetual futures trading
  • ML-Enhanced Evolution - Genetic algorithms with LSTM prediction
  • Walk-Forward Validation - Out-of-sample testing prevents overfitting
  • SQLite Local Storage - Efficient backtesting without external dependencies
  • Modular Configuration - Multi-location config with environment overrides

Quick Start

Global Installation

# Install globally from npm
npm install -g arda-dao

# Verify installation
arda --version

Initialize Configuration

# Interactive setup wizard
arda init -i

# Or use a template (paper, mainnet, aggressive)
arda init --template paper

Check System Health

# Verify all dependencies are installed
arda doctor

CLI Commands

Trading

# Start paper trading (default)
arda start --paper --strategy momentum

# Start with specific configuration
arda start -s momentum --asset ETH --leverage 5

# Check status
arda status

# Stop the bot
arda stop

Backtesting

# Run a backtest
arda backtest run momentum --asset ETH --capital 10000

# With date range
arda backtest run volatilityBreakout --start 2024-01-01 --end 2024-06-01

# List available strategies
arda backtest list

# View backtest history
arda backtest history --limit 20

ML Evolution

# Evolve strategy parameters
arda evolve run momentum --generations 15 --population 40

# With LSTM enhancement (default)
arda evolve run kama --generations 20 --ml

# Check evolution results
arda evolve status

# List evolvable strategies
arda evolve list

Configuration

# Show current configuration
arda config show

# Get/set values
arda config get trading.strategy
arda config set trading.maxLeverage 5

# Show config file path
arda config path

Data Management

# Import historical data
arda data import --asset ETH --source binance --start 2024-01-01

# Export to CSV
arda data export --asset ETH --format csv -o eth_data.csv

# Check data status
arda data status

Utilities

# List all strategies
arda strategies
arda strategies --validated

# View logs
arda logs -n 100
arda logs --follow

# System health check
arda doctor

Configuration

Configuration is loaded from multiple sources in priority order:

  1. CLI flag (--config path/to/config.json)
  2. Environment variable (ARDA_CONFIG)
  3. Current directory (./arda.config.json)
  4. Home directory (~/.arda-dao/config.json)

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | ARDA_MODE | Trading mode (paper or mainnet) | paper | | ARDA_STRATEGY | Default trading strategy | volatilityBreakout | | ARDA_CONFIG | Path to configuration file | - | | OPERATOR_PRIVATE_KEY | Private key for mainnet trading | - |

Example Configuration

{
  "mode": "paper",
  "exchange": {
    "name": "hyperliquid",
    "testnet": true
  },
  "trading": {
    "enabled": true,
    "strategy": "momentum",
    "assets": ["ETH", "BTC"],
    "maxLeverage": 5,
    "riskPerTrade": 0.02,
    "maxDrawdown": 0.15
  },
  "evolution": {
    "generations": 15,
    "populationSize": 40,
    "mutationRate": 0.15,
    "useLSTM": true,
    "validateOOS": true
  },
  "risk": {
    "maxDailyLoss": 0.05,
    "maxWeeklyLoss": 0.10
  }
}

Trading Strategies

Tier 1: Core Strategies

| Strategy | Description | Best For | |----------|-------------|----------| | momentum | Trend-following with RSI and EMA crossovers | Trending markets | | breakout | Range breakout with volume confirmation | Consolidation breakouts | | volatilityBreakout | ATR-based breakout detection | High volatility | | meanReversion | Bollinger Band mean reversion | Range-bound markets | | trendFollowing | Multi-timeframe trend alignment | Strong trends |

Tier 2: Advanced Strategies

| Strategy | Description | Best For | |----------|-------------|----------| | kama | Kaufman Adaptive Moving Average | Choppy markets | | donchian | Donchian Channel breakouts | Trend confirmation | | supportResistance | Dynamic S/R level trading | Key levels | | rsiDivergence | RSI divergence detection | Reversals | | bbSqueeze | Bollinger Band squeeze breakouts | Compression breakouts |

Tier 3: Specialized Strategies

| Strategy | Description | Best For | |----------|-------------|----------| | fundingRate | Funding rate arbitrage | Funding exploitation | | multiTimeframe | HTF/LTF trend alignment | Trend confirmation | | pairsTrading | Correlated pair mean reversion | Market neutral | | liquidationCascade | Liquidation cascade detection | Extreme moves |

SDK Usage

import { ConfigLoader } from 'arda-dao/sdk';
import { StrategyRegistry } from 'arda-dao/strategies';

// Load configuration
const config = new ConfigLoader();
await config.load();

// Access validated config
const tradingConfig = config.getValue('trading');
console.log('Strategy:', tradingConfig.strategy);

// List available strategies
const strategies = StrategyRegistry.getAll();
strategies.forEach(s => console.log(s.name, s.description));

Project Structure

arda-dao/
├── src/
│   ├── cli/              # Command-line interface
│   │   ├── index.js      # Main CLI entry
│   │   └── commands/     # Command implementations
│   ├── config/           # Configuration system
│   │   └── ConfigLoader.js
│   ├── strategies/       # 14 trading strategies
│   ├── ml/               # Machine learning modules
│   ├── backtest/         # Backtesting engine
│   ├── risk/             # Risk management
│   ├── sdk/              # Public SDK exports
│   └── lib/              # Utility libraries
├── data/                 # Historical data & results
├── docs/                 # Documentation
├── tests/                # Test suites
└── contracts/            # Smart contracts (optional)

Development

Prerequisites

  • Node.js >= 18.0.0
  • npm >= 9.0.0

Setup

# Clone repository
git clone https://gitlab.com/arda-dao/arda-dao-v2.git
cd arda-dao-v2

# Install dependencies
npm install

# Run tests
npm test

# Development mode
npm run dev

Testing

# Run all tests
npm test

# Watch mode
npm run test:watch

# Integration tests
npm run test:integration

Documentation

Security

  • Never commit private keys - Use environment variables or ~/.arda-dao/.secrets/
  • Paper trading default - Explicit configuration required for mainnet
  • Risk limits - Built-in position sizing, drawdown limits, and stop-losses

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This software is for educational and research purposes. Trading cryptocurrency carries significant risk. Past performance does not guarantee future results. Always conduct your own research and never trade more than you can afford to lose.


ARDA DAO v10.0.0 - Institutional-Grade Autonomous Trading Platform

Built for the DeFi community