Skip to content
Series

Verace Applied

A family of eight applied systems, with shared order-book scalping code, tick-replay backtesters and monitoring tools.

Verace Research
  1. Recorded trade ticks: Synthetic here, standing in for replayed ticks
  2. Instanton entry signal: Probability-like score from book density
  3. Long entry: Exits on target, stop or a tick timeout
  4. Entry threshold: The backtester enters long when the score is 0.06 or more
Figure 1. Instanton entry score firing on a tick series in Verace Applied. Schematic on a synthetic series: a density from tick volatility feeds the instanton score, and a long entry fires when the score clears its threshold. The shared code's backtests record mostly net losses.
Open the simulator on its own pageA rule reading a series: an interactive toy model of the principle. You can also try it below

Overview

Verace Applied is the lab's family of applied systems. It has eight members, each with its own page: Verace Aurum, Verace FastKernel, Verace Filament, Verace Flotilla, Verace Gapline, Verace Granule, Verace Parity and Verace Tradewind. The collection also holds its own shared trading code on crypto spot-market microstructure, which is separate from the member pages. That code asks a narrow question: can short-horizon scalping signals computed from order-book depth and tick volatility clear exchange fees? Its backtests and paper harnesses start from a simulated capital of 20 USDT. The signals carry names borrowed from physics: an instanton tunneling probability, a Raychaudhuri horizon and a Hamiltonian score.

The shared trading code works as follows. A density ρ\rho is computed from the order book or from recent tick volatility. It drives an entry probability P(ρ)=1−e−2α1+e−2αe−2α∣ΔN∣P(\rho) = \frac{1-e^{-2\alpha}}{1+e^{-2\alpha}} e^{-2\alpha |\Delta N|} with α=κ5(1−ρ/ρc)\alpha = \kappa_5 (1-\rho/\rho_c). A Hamiltonian score combines book imbalance, that probability and the spread to choose the pair that receives the next capital tranche. Exits use a take-profit multiplier that widens with imbalance, a maximum hold measured in ticks, and relocation of resting sell orders that drift away from the best ask. Around this core sit tick-replay backtesters, paper-trading harnesses, a read-only market scanner, a monitoring dashboard, a process supervisor and a generator that writes the same engine modules into about 80 codebases.

The code implements these parts in Python. The lab's backtest reports for the shared code record mostly negative results. The 2-tranche mirror of the trading loop's allocator lost 2.02% over 193 trades with a 48.19% win rate and a profit factor of 0.78. The fee-calibrated multi-asset run lost 41.37% over 204 fills. A maker-fee variant lost 0.23% over 25 fills. The single-asset instanton scalper lost 0.19% over 5 trades. One report gives a gain of +39326.35%, which its own metrics contradict. A figure of +606196.99% from another report is recorded as conflicting with the other reports.

The family is at the experiments stage. The signals, pair router, take-profit logic, order relocation, backtesters, paper-trading demos, scanner, dashboard and supervisor all exist as code, and backtest reports are recorded. None of the shared code's backtest reports records a net gain that is consistent with its own metrics and with the other reports. The paper-trading demos credit synthetic profit that does not depend on market prices, so they measure nothing. The code is written for signed order placement, but the records do not show whether any account involved in their logs was live or a test account. Whether the instanton and Hamiltonian heuristics carry any predictive signal is still untested.

Simulator

A made-up series, and a rule that fires when a point lies far from the average of the points before it. Set how far, and how many points it looks back over.

  • synthetic data: not a record of any market
  • score: distance from the average, in units of the spread
Times the rule fired
15
Points outside the band
25%
Longest stretch without firing
31 points
The series
Synthetic

Narrow the band and the rule fires on noise; widen it and it misses moves. A longer window makes the band slower to follow.

This simulator is an illustration of the principle, with made-up numbers. It does not run the lab's code or show the lab's data, and nothing in it is a measurement.

In this collection

Experiments

Verace Aurum

A six-stream multi-timeframe transformer for gold spot (XAUUSD) price forecasting and position decisions, trained in four phases

Trading and markets · Attention and sequence models · Training and optimisation

Experiments

Verace FastKernel

Header-only C++20 array, dataframe and autograd libraries with a service that compiles, fuzz-checks and benchmarks numerical kernels

Tools and infrastructure · Algorithms and systems · Training and optimisation

Experiments

Verace Filament

A neuro-symbolic pipeline for instance segmentation of solar filaments in full-disc H-alpha images, tuned for Panoptic Quality

Biology and data science · Training and optimisation

Prototype

Verace Flotilla

A templated family of software engines, each organised around a named physical or mathematical invariant, spanning code tooling, systems and trading

Tools and infrastructure · Algorithms and systems · Trading and markets

Prototype

Verace Gapline

Fair value gap and session-filtered backtests with an asynchronous order loop for bitcoin and gold-proxy markets

Trading and markets

Experiments

Verace Granule

An image-to-grain-size pipeline that predicts cumulative soil grain size distribution curves from smartphone photographs

Biology and data science · Algorithms and systems

Prototype

Verace Parity

A statistical-arbitrage pairs-trading engine combining cointegration, Ornstein-Uhlenbeck z-score barriers and drawdown-constrained position sizing

Trading and markets · Algorithms and systems

Prototype

Verace Tradewind

A spot-market trading loop built from heuristic signal modules, an order-execution pricer, exit rules and an SQLite trade ledger

Trading and markets · Algorithms and systems

Architecture

  1. Instanton entry signal

    Turns a density estimated from tick volatility or order-book depth into a probability-like score. A position is entered when the score clears a threshold.

  2. Hamiltonian pair router

    Scores each candidate pair from book imbalance, the instanton score and the spread. The next capital tranche goes to the highest-scoring pair.

  3. Adaptive exit logic

    Sets a take-profit price that widens with imbalance or breakout probability. Resting sell orders that have moved too far above the best ask are cancelled and re-placed.

  4. Tick-replay backtesters

    Replay 60,000 or more recorded trade ticks through a single-position scalper with fees, targets, stops and a tick timeout, then write markdown performance reports.

  5. Paper-trading harnesses

    Poll market prices and simulate virtual fills from a simulated starting capital of 20 USDT. One harness credits synthetic spread profit rather than modelled fills.

  6. Read-only market scanner

    Ranks triangular conversion routes by net return after three taker fees, and ranks perpetual funding rates by annualised yield, without placing orders.

  7. Monitoring dashboard and supervisor

    An HTTP dashboard on port 8888 serves a JSON status endpoint and an equity chart. A watchdog restarts the dashboard and the trading loop if either stops.

  8. Trade record store

    An SQLite trade table with one row per order: timestamp, symbol, side, order id, quantity, price, USDT value, profit and status.

  9. Engine scaffolding generator

    Writes identical database, physics, daemon and test modules into about 80 engine codebases from templates, varying only the title.

Implementation

Mechanisms as they are implemented in the source code, with the constants the code uses.

Instanton tunneling probability
In the single-asset backtester the entry score is P(ρ)=1−e−2α1+e−2αe−2α∣ΔN∣P(\rho) = \frac{1-e^{-2\alpha}}{1+e^{-2\alpha}} e^{-2\alpha |\Delta N|} with α=κ5(1−ρ/ρc)\alpha = \kappa_5 (1-\rho/\rho_c) and κ5=4.9348\kappa_5 = 4.9348. The density ρ\rho is kept in [0.01,0.99][0.01, 0.99], and the backtester enters long when P≥0.06P \ge 0.06.
Volatility-derived book density
The backtesters set ρ=clip(1−k σr,0.01,0.99)\rho = \mathrm{clip}(1 - k\,\sigma_r, 0.01, 0.99), where σr\sigma_r is the standard deviation of recent tick returns. The code uses k=100k = 100 in the single-asset backtest and k=75k = 75 in the multi-asset sweep, so low volatility gives high density and lowers α\alpha.
Order-book density from depth
The continuous trading loop computes ρ=Vb/(Vb+Va)\rho = V_b/(V_b+V_a) over the top 10 book levels, clamped to [0.01,0.99][0.01, 0.99]. This value is fed into the instanton formula with ρc=1\rho_c = 1.
Kinetic pressure imbalance
The code computes pk=(Vb−Va)/(Vb+Va)p_k = (V_b - V_a)/(V_b + V_a) over the top 10 bid and ask quantities, with a small constant added to the denominator, so pk∈[−1,1]p_k \in [-1, 1]. It is used to rank pairs and to scale profit markups.
Hamiltonian pair selection
The continuous loop scores each of 8 pairs as H=pk+2Pinst−0.5sH = p_k + 2 P_{inst} - 0.5 s, where ss is the spread in percent, and buys the argmax pair with a tranche of at least 7.50 USDT. A separate imbalance-ranked scalping engine uses the simpler score H=pk−0.5sH = p_k - 0.5 s over SUI, SOL and DOGE pairs.
Soliton take-profit multiplier
The continuous loop places its take-profit at pbuy(1.0022+max⁡(0,0.0035Pinst))p_{buy}(1.0022 + \max(0, 0.0035 P_{inst})). The imbalance-ranked scalping engine uses 1.0025+max⁡(0,0.003pk)1.0025 + \max(0, 0.003 p_k) for new entries and 1.0018+max⁡(0,0.002pk)1.0018 + \max(0, 0.002 p_k) for relocated orders.
Market entry with resting take-profit
The market-entry script buys a small tranche at market and computes the average fill price as pˉ=Q/q\bar{p} = Q/q, cumulative quote quantity over executed quantity. It then rests a good-till-cancelled sell at pˉ\bar{p} raised by a default target of 0.45%.
Raychaudhuri stale-order relocation
The continuous loop cancels resting sells priced more than 0.35% above the best ask aa, pauses 0.3 s, and re-places them at a(1.0018+max⁡(0,0.0018pk))a(1.0018 + \max(0, 0.0018 p_k)). The imbalance-ranked scalping engine treats a sell above 1.004 a1.004\,a as stranded and re-posts it near the top of the book after 0.4 s.
Tick-replay scalper loop
The backtester holds one long position at a time, sized at the minimum of 8.5 and the maximum of 5.5 and 35% of capital. It charges 0.075% fees on each side and exits on target, stop or a 120-tick timeout, which the reports call the Raychaudhuri horizon, while tracking peak drawdown.
Triangular route return ratio
The scanner prices the route USDT to X at the ask, X to BTC at the bid, and BTC to USDT at the bid as r=1a1b2b3(1−f)3r = \frac{1}{a_1} b_2 b_3 (1-f)^3 with f=0.00075f = 0.00075. It reports the return in percent as (r−1)⋅100(r - 1) \cdot 100.
Funding rate annualisation
The scanner converts an 8-hour funding rate f8f_8 into APY=f8⋅3⋅365⋅100APY = f_8 \cdot 3 \cdot 365 \cdot 100 in percent. It labels the sign of the rate with the corresponding delta-neutral spot and perpetual pairing.
Synthetic spread profit model
The demo simulator credits each cycle with max⁡(1.20,x U(0.12%,0.48%)−3xf)\max(1.20, x\,U(0.12\%, 0.48\%) - 3 x f), where xx is the trade size and the fee ff defaults to 0.075%. The credited profit is never negative and does not depend on the prices the demo fetches.
Synthetic multi-asset selector
The multi-asset sweep backtester scores assets as h=0.5sin⁡(0.04t+(hash mod 7))+3Pinsth = 0.5 \sin(0.04 t + (\mathrm{hash} \bmod 7)) + 3 P_{inst}, with per-asset volatility weights from 0.85 to 2.6, and enters when h≥0.40h \ge 0.40. Only ETH prices are traded, so the asset choice has no effect on results.
Watchdog respawn
The process supervisor checks every 3.0 s whether the dashboard and the trading loop are running by matching process command lines with pgrep. It restarts any missing process as a detached session.

Results

From the lab's own experiments and records. They have not been independently replicated.

  1. Allocator mirror backtest lost 2.02%

    The lab's 2-tranche mirror of the trading loop's allocator, run on 80,000 recorded ticks, lost 2.02% over 193 trades. It recorded a 48.19% win rate, a profit factor of 0.78 and a maximum drawdown of 2.06%.

  2. Fee-calibrated multi-asset run lost 41.37%

    The 8-pair instanton router backtest on 60,000 ticks lost 41.37% over 204 fills, with a 15.69% win rate and a profit factor of 0.08, despite targets scaled above the round-trip fee.

  3. Maker-fee variant lost 0.23%

    With a 0.02% maker fee model and an instanton barrier of 0.062, the evaluation records report a 0.23% loss over 25 fills, a 48.00% win rate and a profit factor of 0.80.

  4. Single-asset instanton scalper lost 0.19%

    The ETH tick-replay backtest made only 5 trades. It recorded a 60.00% win rate, a profit factor of 0.43 and a 0.19% net loss.

  5. Micro-spread report is internally inconsistent

    One report states +39326.35% with a 14.36% win rate, a profit factor of 0.06 and 0.00% drawdown. A profit factor below 1 means losses exceeded gains, so the headline figure contradicts the report's own metrics.

  6. Yantra engine figure conflicts with other reports

    A report from the Yantra-named backtest engine gives +606196.99%, a figure the lab's records note as conflicting with the other reports.

  7. Demo profits are synthetic

    The paper-trading demo credits a random spread gain with a floor of 1.20 per cycle, and the market-stream demo adds 0.15% of the SOL bid every cycle. Neither figure depends on simulated fills.

  8. Design report and documentation differ from code

    The multi-asset design report gives thresholds of 0.045 for PinstP_{inst} and 0.35 for HH, while the selector code requires h≥0.40h \ge 0.40 and trades only ETH prices, so its asset choice has no effect. The documentation says order relocation guarantees immediate execution, but the re-posting code places limit sells above the best ask, which does not ensure it. One compounding bot script creates its trade table but implements no trading loop, despite its messages.

Concepts

Physics-named heuristics
The shared trading code names its signals after constructs from gravitational physics: instantons, the Raychaudhuri equation and Hamiltonians. In the code they are short closed-form scores over book depth, spread and volatility, not physical models.
Instanton tunneling probability
A probability-like entry score that falls off exponentially with a barrier parameter derived from market density. The backtest reports use thresholds of 0.045, 0.06 and 0.062.
Raychaudhuri horizon
The shared code's name for the maximum holding time of a position, counted in ticks: 120 ticks in the single-asset backtest and 90 in the maker-fee variant. The same name is used for relocating stale orders.
Order-book imbalance
The normalised difference between bid and ask quantity at the top levels of the book. The shared code uses it as a proxy for short-term buying pressure.
Two-tranche allocator
In the mirror backtest, the trading loop's allocator splits the simulated 20 USDT starting capital into two tranches of 6.50 to 7.50 USDT, keeping each order above a 5.00 USDT minimum notional.
Fee drag
Each round trip pays a fee on both sides, 0.075% per side in most of the code. A target of a few tenths of a percent therefore leaves little margin, which the fee-calibrated report addresses by scaling targets to several times the round-trip fee.
Profit factor
Gross profit divided by gross loss. A value below 1 means losses exceeded gains, which is what every backtest report of the shared trading code that gives a profit factor records.
Triangular arbitrage
Converting through three currency pairs and back to the starting currency. The route is profitable only if the product of the exchange rates, after three fees, exceeds 1.
Cash-and-carry funding
A delta-neutral pairing of a spot holding with an opposite perpetual-futures position, whose return comes from the periodic funding rate. The scanner only annualises and ranks these rates.
Synthetic profit in demos
Two demo programs add gains drawn from fixed formulas, not from simulated fills. Their reported session profits carry no evidence about the strategy.
Templated engine fleet
About 80 engine codebases generated from identical templates with a 16-thread pool. They differ only in title, so they are copies rather than distinct strategies.

About this page

Written from the lab's own documents and source code. Figures and results are the lab's measurements as it recorded them at the time, and have not been independently replicated.

Market results here are backtests and logs kept by the lab. Nothing on this page is financial advice.

Published under the PolyForm Noncommercial License 1.0.0: free for noncommercial use.