Skip to content
Igor Sazonov edited this page Jul 21, 2026 · 3 revisions

Welcome to the CoinQuant PHP SDK Wiki

Welcome to the official documentation for the CoinQuant PHP & Laravel SDK! This library provides a seamless, strictly-typed PHP 8.1+ interface for the CoinQuant public API.

CoinQuant is an AI-powered no-code trading platform that allows you to describe trading strategies in plain English, build them using AI, and backtest them instantly on institutional-grade data. This SDK wraps the platform's intelligence layer, enabling you to integrate these capabilities directly into your PHP applications and Laravel projects without dealing with raw cURL requests, Server-Sent Events (SSE) parsing, or manual polling loops.

What is CoinQuant?

CoinQuant acts as the trust layer for both human traders and autonomous AI agents in the financial economy [1]. It provides a unified intelligence system combining:

  • Institutional-grade backtesting with data from providers like Kaiko.
  • AI-powered strategy optimization.
  • Natural-language and voice-driven strategy building.
  • One-click automation and execution.

SDK Features

The tigusigalpa/coinquant-php package is designed to be highly modular and Composer-compatible, working perfectly as a standalone library or seamlessly integrating into Laravel 10+ applications [2].

Key features include:

  • Strict Typing: Built for PHP 8.1+ with strict type declarations.
  • Laravel Integration: Automatic ServiceProvider registration and a convenient CoinQuant facade.
  • Full API Coverage: Supports all 37 public endpoints, including chats, strategies, backtests, reports, and community leaderboards.
  • Streaming Support: Native handling of Server-Sent Events (SSE) via PHP generators for real-time AI responses.
  • Simplified Workflows: Helpers like createBacktestAndWait() to handle asynchronous polling automatically.
  • Actionable Exceptions: Detailed error handling with CoinQuantException carrying HTTP status, request IDs, and machine codes.
  • Customizable HTTP Client: Built on top of Guzzle, allowing you to inject your own client for retries, proxies, or custom logging.

Getting Started

Ready to dive in? Follow our guides to get your integration up and running:

  1. Installation & Configuration: Learn how to install the package via Composer and set up your API token.
  2. Laravel Integration: Discover how to use the SDK within your Laravel application using the provided facade and service container.
  3. Core Concepts & Streaming: Understand how to interact with the AI engine, handle streaming responses, and materialize strategies.
  4. Backtesting Guide: Learn how to submit, poll, and retrieve results from your trading strategies.
  5. API Reference: Explore the complete list of available endpoints and methods.

Community & Support

If you encounter any issues or have feature requests, please feel free to open an issue on the GitHub repository.


References

[1] CoinQuant introduces trading infrastructure for the agent economy [2] CoinQuant PHP GitHub Repository

Clone this wiki locally