Skip to content

v0.3.0 — Euler: The Architecture of Mathematics

Choose a tag to compare

@howdysukh howdysukh released this 06 Jul 14:26

🧮 Gan Engine v0.3.0 — Euler

"The version where Gan Engine became an engine."


Overview

Version v0.3.0 represents the most significant architectural milestone since the project's inception.

Rather than implementing a simple support and resistance calculator, Gan Engine now introduces the design for a universal mathematical engine capable of generating multiple Gann Square of Nine levels using configurable angular offsets.

This release establishes the mathematical philosophy that every future version of Gan Engine will follow.


Why This Release Exists

Early prototypes considered calculating only a single support and resistance level.

During architectural discussions, it became clear that such an implementation would quickly become limiting.

If the market crossed the first resistance early in the trading session, the engine would have no additional mathematical levels to monitor.

Instead of creating individual calculations for each level, Gan Engine now adopts a generalized approach capable of calculating an unlimited number of Gann levels from a single opening price.


Mathematical Philosophy

Gan Engine never predicts future prices.

Instead, it performs deterministic mathematical transformations using the day's opening price.

Every user entering the same opening price will receive exactly the same calculated levels.

No randomness.

No machine learning.

No hidden variables.

Only mathematics.


Universal Gann Engine

Rather than building individual functions such as

calculate45()

calculate90()

calculate180()

Gan Engine introduces a single universal engine.


Opening Price

↓

Angle Array

↓

Universal Calculation Engine

↓

Support Levels

↓

Resistance Levels

The engine is capable of calculating any number of angles without requiring modifications to its internal logic.


Configurable Angles

Instead of hardcoding mathematical levels into the application, Gan Engine now accepts a configurable angle array.

Example:

const angles = [
    45,
    90
];

Future versions may extend this array to include:

  • 135°
  • 180°
  • 225°
  • 270°
  • 315°
  • 360°

without changing the mathematical engine itself.


Level-Based Architecture

Gan Engine no longer thinks in terms of separate support and resistance calculations.

Instead, every output is represented as a mathematical level.

Example:

{
    "angle":45,
    "direction":"support",
    "price":1295.40
}

or

{
    "angle":90,
    "direction":"resistance",
    "price":1324.60
}

This architecture allows unlimited future expansion while keeping the frontend completely unchanged.


Engineering Principles

The mathematical engine contains only mathematics.

It is completely independent of:

  • User interface
  • Notifications
  • Watchlists
  • Authentication
  • Subscription plans
  • External APIs

The engine accepts an opening price and returns mathematical levels.

Nothing more.


Future Business Model

This architecture naturally enables feature-based subscriptions.

Example:

Free

  • 45°
  • 90°

Pro

  • 45°
  • 90°
  • 135°
  • 180°

Professional

  • Complete 360° Gann Engine
  • Advanced analytics
  • Watchlists
  • Notifications

Importantly, the mathematical engine remains identical across every plan.

Only the requested angle set changes.


Architecture


Market Provider

↓

Opening Price

↓

Universal Gann Engine

↓

Mathematical Levels

↓

Gan Engine API

↓

Frontend


What's Next

The next development sprint will focus on implementing the first production version of:

services/gannEngine.js

including:

  • Square of Nine transformation
  • Universal angle generation
  • Multiple support levels
  • Multiple resistance levels
  • Mathematical validation
  • Unit testing

Gan Engine continues to follow its founding philosophy:

"We do not predict markets.

We calculate mathematics."


Gan Engine Team