PROPELOO

AI CRYPTO TRADING BOTS / ALGORITHMIC TRADING

Build trading bots that execute strategy, not hunches.

PROPELOO engineers algorithmic crypto trading systems — from strategy codification and backtesting infrastructure through live execution engines, risk management, exchange API integration and the monitoring that keeps automated capital deployment under control. Trading bots are not magic. They are strategy implementations with robust execution and explicit risk controls.

A trading strategy that looks profitable in a backtest but has no risk controls will lose money in live trading.

The most common failure mode in algorithmic crypto trading is not a bad strategy — it is a strategy with no risk controls deployed in live markets. A trend-following strategy that worked in 2021 bull markets but has no drawdown stop will keep trading in a 2022 bear market. A market-making bot with no position inventory limits will accumulate directional risk during volatile periods. A cross-exchange arbitrage bot with no latency monitoring will execute at prices that have already moved. Trading system engineering requires treating risk management as equal in importance to signal generation. PROPELOO builds trading systems where the risk controls are as sophisticated as the strategy.

The trading system stack.

System Layers

  • Data Layer: Market data feeds, OHLCV ingestion, order book depth, on-chain data, news feeds
  • Strategy Layer: Signal generation, entry/exit logic, position sizing, portfolio management
  • Execution Layer: Order routing, slippage management, order types, partial fills, queue management
  • Risk Layer: Position limits, drawdown stops, exposure monitoring, circuit breakers
  • Infrastructure Layer: Backtesting, paper trading, live deployment, monitoring, alerting

Core Technical Capabilities

  • Market Data Infrastructure

    WebSocket connections to exchange market data feeds, OHLCV storage (TimescaleDB), order book depth capture, on-chain DEX data via The Graph, news/social sentiment feeds.

  • Backtesting Framework

    Vectorised or event-driven backtesting with realistic transaction cost modelling (slippage, fees, funding rates), walk-forward optimisation, out-of-sample validation and performance metrics.

  • Order Execution Engine

    Exchange API integration (ccxt library), smart order routing, iceberg orders for large positions, TWAP/VWAP execution for size, maker/taker optimisation and fill monitoring.

  • Risk Management System

    Per-trade position size limits, portfolio exposure limits, maximum drawdown circuit breakers, correlation-based risk, VaR calculation and automatic position liquidation on breach.

  • DEX Trading

    On-chain DEX execution via viem/ethers.js — Uniswap, Curve, Balancer. Flash loan arbitrage, sandwich attack defence, MEV-protected transaction submission (Flashbots).

  • Live Monitoring

    Real-time P&L tracking, position inventory display, execution quality metrics (slippage vs expected), fill rate monitoring, strategy performance vs benchmark and automated alerts.

How we think about trading systems.

Strategy performance in backtests is hypothesis, not evidence. Live performance with proper risk controls is evidence.

  • Backtest overfitting is the hidden risk

    A strategy with 20 parameters optimised on historical data will look excellent in backtest and fail in live trading because it has learned noise, not signal. Walk-forward validation (train on rolling window, test on out-of-sample) and parameter sensitivity analysis (how much does performance change if parameters shift slightly?) are required quality gates before live deployment.

    Axiom:

  • Execution infrastructure determines captured alpha

    A strategy that generates a 20bps edge per trade but costs 15bps in slippage and fees captures only 5bps. Execution quality — order type selection, timing within the bar, exchange venue routing — is where strategies either capture their theoretical edge or give most of it away. Measure actual slippage per trade from day one.

    Axiom:

  • Risk management is not optional, it is the product

    A strategy without a drawdown stop is not a trading system — it is a gamble on the strategy never being wrong. Maximum drawdown limits, daily loss limits, position concentration limits and automatic position reduction on adverse moves are not optional risk controls. They are what differentiates a trading system from a speculation.

    Axiom:

  • Paper trade before live trading

    Every strategy should run in paper trading mode (simulated execution on live data) before deploying real capital. Paper trading catches: bugs in order management logic, incorrect fee assumptions, edge cases in position sizing, API behaviour differences from what backtesting assumed.

    Axiom:

Trading system design decisions.

  • Strategy type?

    Impact: Strategy selection depends on market regime, capital size and risk tolerance. Arbitrage strategies have the most deterministic edge but require fast execution. Trend/mean reversion require drawdown tolerance.

    • Trend following — momentum, higher Sharpe in trending markets
    • Mean reversion — statistical arb, Bollinger bands, pairs trading
    • Market making — provide liquidity, earn spread, inventory risk
    • Arbitrage — cross-exchange, triangular, flash loan on-chain
  • CEX vs DEX execution?

    Impact: CEX for most strategies — better liquidity, lower execution costs, established APIs. DEX for on-chain strategies where trustlessness is required or MEV opportunities justify the on-chain complexity.

    • CEX only — faster, more liquid, counterparty risk
    • DEX only — trustless, permissionless, higher gas costs
    • Both CEX and DEX — arbitrage opportunities, highest complexity
    • DEX MEV strategies — competitive, requires Flashbots/MEV infra
  • Backtesting framework?

    Impact: Vectorbt for large-scale backtesting across many assets and parameters (fast vectorised computation). Freqtrade for strategies that benefit from its live trading integration. Custom for complex multi-asset strategies with non-standard execution models.

    • Backtrader — Python, event-driven, large community
    • Vectorbt — vectorised, very fast for large datasets
    • Freqtrade — open source, backtesting + live trading
    • Custom framework — full control, significant engineering cost
  • Exchange connectivity?

    Impact: ccxt for CEX connectivity — reduces integration complexity significantly. Direct exchange API only when sub-millisecond latency is genuinely required for the strategy.

    • ccxt — unified API for 100+ exchanges, good abstraction
    • Direct exchange API — lower latency, exchange-specific
    • Commercial data provider — institutional grade, expensive
    • Self-custody DEX (viem/ethers) — on-chain only
  • Risk management granularity?

    Impact: Per-trade stops + portfolio-level drawdown limits is the minimum for live trading. Correlation-adjusted risk prevents strategies from having hidden concentration risk.

    • Per-trade stops only — minimum viable
    • Per-trade + portfolio level — standard production
    • Per-trade + portfolio + correlation-adjusted — sophisticated
    • Full VaR + stress testing — institutional grade
  • Deployment infrastructure?

    Impact: VPS or cloud instance (AWS EC2/GCP VM) for most trading systems — sufficient uptime with health monitoring and automatic restart. Co-location only for HFT strategies where microseconds matter.

    • Local machine — simplest, single point of failure
    • VPS/single cloud server — better uptime, standard for most bots
    • Kubernetes — highest reliability, overkill for single strategy
    • Co-location — lowest latency to exchange, expensive

What PROPELOO builds.

  • Trend Following System

    Multi-exchange momentum system with ATR-based position sizing, pyramiding rules, trailing stops and portfolio-level exposure management.

  • Statistical Arbitrage

    Pairs or basket trading system — cointegration analysis, mean reversion entries, dynamic hedge ratio calculation and execution optimisation.

  • DEX Arbitrage Bot

    Cross-DEX arbitrage with flash loan execution, MEV-protected submission via Flashbots, gas cost optimisation and profitability simulation.

  • Market Making Bot

    Automated market making on CEX or DEX — bid/ask spread management, inventory control, adverse selection detection and profitability per token.

  • Backtesting Platform

    Vectorised backtesting infrastructure for strategy research — walk-forward optimisation, Sharpe/Sortino analysis, drawdown analysis, transaction cost modelling.

  • Portfolio Rebalancing Bot

    Automated portfolio rebalancing to target weights — tax-aware rebalancing, execution optimisation, drift monitoring and performance attribution.

The trading system stack.

  • Exchange Connectivity

    Stack: ccxt (100+ exchanges), Binance Python SDK, Bybit API, Coinbase Advanced Trade API

  • Data

    Stack: TimescaleDB (time-series), InfluxDB, WebSocket data collectors, The Graph (DEX data)

  • Strategy & Backtest

    Stack: Vectorbt, Backtrader, Freqtrade, Custom Python framework, pandas + numpy

  • On-chain Execution

    Stack: viem, ethers.js, Flashbots (MEV protection), 1inch API (aggregation)

  • Infrastructure

    Stack: Python (asyncio), Redis (state), PostgreSQL (trades), AWS EC2, Supervisor/PM2

  • Monitoring

    Stack: Grafana + Prometheus, PagerDuty, Telegram bot alerts, Custom P&L dashboard

Trading system security protects capital.

  • API key management

    Exchange API keys with withdrawal permissions disabled — trading only. IP whitelist on exchange side. Keys in AWS Secrets Manager, never in code or env files.

  • Withdrawal prevention

    Trading bots should never have withdrawal permissions. Read + trade permissions only. Even if the system is compromised, the attacker cannot withdraw funds.

  • Circuit breakers

    Hard-coded maximum loss per day, maximum position size, and maximum order rate. These cannot be overridden by strategy logic. If triggered, system pauses and alerts.

  • Order validation

    Every order is validated before submission: price within reasonable range of mid-market, size within limits, not duplicate of recent order. Prevents runaway order submission bugs.

  • Infrastructure hardening

    Trading system server: no public SSH access (VPN only), firewall rules restricting outbound connections to exchange endpoints only, monitoring for anomalous behaviour.

  • Private key security for on-chain

    On-chain trading: private keys in HSM or hardware wallet for signing. ERC-4337 session keys with specific contract/value permissions for automated on-chain execution.

From strategy concept to live trading system.

  1. 01. Strategy Specification

    Codify strategy rules precisely — entry/exit conditions, position sizing, risk parameters.

  2. 02. Data Infrastructure

    Historical data collection, TimescaleDB setup, live data feeds.

  3. 03. Backtesting

    Strategy implementation, backtest with realistic costs, walk-forward validation, parameter sensitivity analysis.

  4. 04. Execution Engine

    Exchange connectivity, order management, fill handling, execution quality measurement.

  5. 05. Risk System

    Position limits, drawdown stops, circuit breakers, portfolio-level exposure.

  6. 06. Paper Trading

    Live data, simulated execution — 2-4 weeks to validate live behaviour matches backtest.

  7. 07. Live Deployment

    Small capital deployment, monitor closely, scale capital as live performance validates strategy.

Frequently Asked Questions

How do we validate that our strategy is not overfitted?

Walk-forward validation: train strategy on rolling window (e.g., 6 months), test on the next month, advance by one month and repeat. Compare in-sample to out-of-sample Sharpe ratio — significant degradation indicates overfitting. Parameter sensitivity analysis: vary each parameter ±20% and measure performance change. Robust strategies are insensitive to small parameter perturbations.

What is slippage and how do we minimise it?

Slippage is the difference between expected execution price and actual execution price. Causes: market impact (your order moves the price), latency (price moves before your order fills), spread (you always buy the ask and sell the bid). Minimise via: limit orders over market orders, TWAP for large orders, trading in high-liquidity periods, venue selection (use exchange with tightest spreads for your pair).

What licenses or regulations apply to automated crypto trading?

For personal account trading: generally no license required. For managing third-party capital: requires investment advisor registration in most jurisdictions (RIA in US, FCA registration in UK). For running a trading service (where others subscribe): may require money service business or similar licensing. Regulations vary significantly by jurisdiction and capital size. Legal review before accepting third-party capital is strongly recommended.