home / case-studies / tradeverse
Sugar price intelligence, from mill yard to market call.
A sugar trading business was making calls from prices passed around in chats and figures buried in mill spreadsheets. Comsoft built TradeVerse: one ledger for every price and volume, pipelines that bring mill data in automatically, live indicators, and an AI analyst that explains what the numbers say.

Before
- Prices shared in chats and noted by hand
- Mill figures locked in Excel files, PDFs and phone photos
- No single price history to chart or test against
- Market reads depended on whoever was on the desk
With TradeVerse
- Every price and volume on one audited ledger
- Mill data ingested on schedule — OCR included
- Live candles with RSI, ADX, Bollinger and moving averages
- A repeatable quant call, explained in a readable AI report
What we built
Five modules, one source of truth
01 · Ledger
Every price and traded volume, in one place
Prices and buy/sell volumes used to live across chats, spreadsheets and memory. TradeVerse keeps every record with its tag, timestamp and mill — searchable by ID or date, exportable to CSV, and never hard-deleted.
- Price list with tags and recording time
- Traded volumes with trade type, price, mill and payment date
- Soft delete, restore and audit history on every record
- Role-based access for traders, analysts, data entry and developers

02 · Analytics
Bid and traded volume, read at a glance
The dashboard turns the ledger into trend lines: buy, sell and total volume over time, volume concentrated by price range, and quantity movement — filtered by tag for any trading window.
- Trade volume over time, buy vs sell
- Volume and quantity by price bucket
- Tag filters for any period (e.g. a month or season)

03 · Charts
Live candlesticks with the indicators traders use
A live commodity chart with daily and intraday intervals, OHLC readout per candle, and indicators computed server-side so every user sees the same numbers.
- RSI, ADX (+DI / −DI) and Bollinger Bands
- Moving averages with analyst-set periods (e.g. 7, 14, 20)
- Up to 200 candles per view, with load-more history

04 · AI analysis
A quant model makes the call — an LLM explains it
Pure prompt-based forecasting reads well but does not repeat reliably. TradeVerse separates the two: a deterministic quant layer produces direction, scenarios, invalidation level and confidence; a language model then writes that up as an analyst-style report.
- Market overview, technical signals and key levels
- Trade bias with bull and bear scenarios and probabilities
- Forecast models retrain automatically when prices are added or edited
- One-click PDF export of every report

05 · Pipelines
Mill data that arrives by itself
Crushing-season figures, date-wise sugar data and mill yard balances come from Excel files, PDFs and even photos shared on WhatsApp. Airflow DAGs ingest all of it into one schema — with Google Cloud Vision reading the figures off images — and developers can trigger or inspect any run from the dashboard.
- 5 DAGs: crushing season, date-wise sugar, mill yard balance, wheat (multi-year), yard-balance OCR
- Excel, PDF and image inputs normalised to one ETL schema
- Trigger and run history in-app, restricted to the developer role

Architecture
How TradeVerse is put together
A containerised FastAPI service over PostgreSQL, with Airflow for ingestion and a hybrid forecasting layer that keeps the numbers deterministic and the narrative readable.
Airflow DAGs
Crushing season, date-wise sugar, mill yard balance and wheat data from Excel and PDF; yard balances read from images by OCR.
FastAPI + PostgreSQL
Prices, volumes and commodities behind a typed API with role-based access, soft delete and audit history.
Quant + LLM
Indicators computed server-side; lightweight forecast models retrained per commodity and interval; an LLM writes the analyst report.
Trader dashboard
Dashboards, live charts, report generation and pipeline controls — with CSV and PDF exports.






Client name withheld. Counterparty and mill names are blurred in every screenshot on this page.
Start a project
Want this view of your market?
TradeVerse can be configured for other commodities and other data sources. Tell us what you trade and where your numbers come from today.
- A walkthrough on real screens
- An honest read on your data sources
- Pipelines scoped to the files you already receive
Windsor & Maidenhead, United Kingdom · Punjab, Pakistan
info@comsoftcorporation.com
Tell us what you need
Takes under a minute. We reply within one working day.
