Skip to main content

AI-Driven Qutan, Open to All

Project description

APilot - AI-Driven Quantitative Trading Platform

Overview

APilot is a high-performance quantitative trading framework focused on cryptocurrency and stock markets, developed by the AlphaPilot.tech team. The framework supports both strategy backtesting and live trading, providing a comprehensive solution for quantitative traders.

Official website: www.alphapilot.tech

Key Features

  • Event-driven architecture: Built for high-performance, real-time trading systems
  • Multiple trading strategies: Price Action strategies, Factor strategies (in development)
  • Professional execution algorithms: BestLimit, TWAP algorithms
  • Comprehensive backtesting: Accurate simulation with detailed performance analytics
  • Multi-exchange support: Currently focusing on Binance, with more to come
  • Live trading capability: Execute strategies in real-time with risk management
  • Extensible framework: Easy to add new strategies, data sources, and exchanges

Strategy Types

  • Price Action (PA) strategies: Support for trend following, mean reversion, and other classic price action strategies
  • Factor strategies: Quantitative strategies based on multi-factor models (in development)

Technical Architecture

Design Principles

  • Core Module: Contains all abstract interfaces and core data structures

    • Abstract base classes (BaseEngine, BaseGateway, etc.)
    • Data models (OrderData)
    • Constant definitions (Direction, Interval, etc.)
    • Basic event system
  • Feature Modules: Specific implementations for different domains

    • execution/gateway/ - Exchange API implementations
    • engine/ - Specific engine implementations
    • strategy/ - Trading strategy templates and implementations
    • performance/ - Performance calculation and reporting

Installation

Quick Start

Backtesting a Strategy

Running Live Trading

Getting Started with Development

For detailed documentation on developing with APilot, please refer to our Development Guide.

Testing

# Run all tests
python -m pytest tests/

# Run specific test file
python -m pytest tests/test_bar_generator.py

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apilot-0.1.32.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apilot-0.1.32-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

Details for the file apilot-0.1.32.tar.gz.

File metadata

  • Download URL: apilot-0.1.32.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for apilot-0.1.32.tar.gz
Algorithm Hash digest
SHA256 0165783d67321609dbfd57ec245efb2eb2f1e241edbb125ccaf91e4c67cba352
MD5 5e80db871f8b08785ed9c35a8f538baf
BLAKE2b-256 5c15b3118f1acf2fd39f69bb3ed8cf1d02505d5d29e3e68c0fdb7959fc660b2a

See more details on using hashes here.

File details

Details for the file apilot-0.1.32-py3-none-any.whl.

File metadata

  • Download URL: apilot-0.1.32-py3-none-any.whl
  • Upload date:
  • Size: 47.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for apilot-0.1.32-py3-none-any.whl
Algorithm Hash digest
SHA256 7ff2a84282bc8ee810debebd7ab4353683f2f1d3a78d609ecf3df1183c039575
MD5 e83541f17c560fd50d82c0a73ed9f3e2
BLAKE2b-256 0c92fabee97dce6f9648967aaf91881e237d2d6134a33958c4c183fe103b9fa1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page