AnsCom Quantitative Suite-> POST-MARKET Gold ETF Fair-Value Engine [FINANCIAL MODELLING] (A market-structure repair system)
A live terminal that approximates the ICICI Prudential Gold ETF (GOLDIETF) price after NSE market hours, using XAUUSD and USDINR in real-time.
Overview (powered by Mermaid charts)

- Project Demo (YouTube): _DEMO:
https://www.youtube.com/watch?v=Pi3xI19eqHs
- The demo will walk through:
- How the engine fetches data (NSE + MT5 + Yahoo Finance)
- How the synthetic ETF price is computed
- How to read each panel in the ANSCom Terminal UI
Indian Gold ETFs like GOLDIETF trade only during NSE market hours.
However, gold (XAUUSD) and USDINR move 24×7 in global markets.
Traders and investors often want to know:
“If NSE was open right now, approximately where would GOLDIETF be trading?”
This project builds a real-time proxy fair-value engine that answers exactly that, by:
- Fixing a reference point at 15:30 IST (Indian close)
- Streaming live XAUUSD and USDINR prices
- Scaling the last ETF close using proportional returns in gold and FX
- Displaying everything in a live visual terminal with volatility, premium and driver breakdowns.
The synthetic ETF level is approximated by:
Where:
- ETF_close – last GOLDIETF close from NSE
- XAUUSD_ref(15:30 IST) – gold price at India close, from MT5 history
- USDINR_ref(15:30 IST) – FX rate at India close, from yfinance history
- XAUUSD_live, USDINR_live – current prices (streamed live)
The engine also tracks:
- Gold return vs 15:30 ref
- FX return vs 15:30 ref
- Premium vs last close in %
- Volatility (bps) from recent synthetic ETF ticks
All of this is displayed in the AnsCom Terminal interface (My natively developed interface).
🏛 System Design – (ROUGH SYSTEM) Whiteboard → Code [Basically, my logic is presented below; the way i thought initially to make the program]
This project was first designed completely on a system-design board and then turned into code.
Each diagram has a direct mapping to the Python modules and functions.
git clone https://github.com/PC5518/gold-etf-postmarket-fair-value-engine.git
pip install -r requirements.txt
Status: BEFORE the live loop starts
Goal: Build a stable reference state at India close (15:30 IST)
