Jordan Gold Tracker Bot (GLD_Tracker)
An automated system that collects Jordan gold and lira prices and delivers them to you on Telegram seven times a day, using Gemini to read the official price sheet and a lightweight statistical model for the outlook.
Prices are for information only and forecasts are statistical estimates, not financial advice. The bot is not affiliated with the Jewellers Syndicate.
1. Core purpose & execution schedule
Primary objective
Automatically track, fetch and deliver Jordanian gold market prices directly via Telegram.
Execution frequency
Runs on a scheduled cron trigger 7 times a day, from 9:00 AM to 9:00 PM Jordan time, every two hours.
Delivery format
One unified Telegram message with the full market breakdown plus the official price sheet image; the bot also answers /start instantly.
2. Data sources & information tracked
The bot combines data from several public and institutional sources into one report:
| Data point | Source / method |
|---|---|
| 21K gold selling & buying prices (JOD) | Read automatically from the daily bulletin image posted on the Jordan Jewellers Syndicate (JJSJO) page using the Google Gemini API (text recognition). |
| Rashadi & English lira prices | Calculated locally from the lira weight and the 21K buying/selling prices. |
| Global spot price (XAU/USD) & 24h change | Fetched from the public GoldBroker API. |
| Record archive | Every price update is logged to a Google Sheet through a Google Apps Script web app (doPost). |
| Official price sheet image | The bulletin image is attached as published, after it has been read and validated. |
3. Statistical price forecast
How it works
A lightweight random-walk with drift model generates an expected 7-day price path.
Why this model
It runs locally with instant response and needs no slow or paid external AI service.
The current price (Pt) is adjusted by the smoothed 24-hour performance rate (δ) plus uniform noise (ε) that simulates market variation.
4. Error handling & reliability
Authenticated browser session
The bot reads the bulletin through an automated Chromium browser (Playwright) with a signed-in session, seeing the public post the way any visitor does.
Fallback reading route
If the page does not render as expected, the bot tries an alternative route to display the same public page before treating the attempt as failed.
Retries & failure reports
Temporary failures (such as a Gemini 503) are retried up to 3 times. If every route fails, the bot captures a diagnostic screenshot and sends an automatic Telegram error report to the maintainer.
Subscribe to Jordan gold price updates
Get the Jordan gold price bulletin 7 times a day with the market trend and a weekly outlook.
Open the bot on Telegram (@gld_tracker_bot)How to start using the gold price bot
No sign-up or extra app needed — a Telegram account is enough.
- Press "Open the bot on Telegram" or search for @gld_tracker_bot inside Telegram.
- Tap Start; the bot confirms your subscription right away.
- You will receive a message roughly every two hours between 9 AM and 9 PM Jordan time with 21K, lira and ounce prices plus the bulletin image.
- To stop the messages, delete the chat or choose Stop/Block bot in the chat settings.
Frequently asked questions
Is the bot free?
Yes, it is completely free and asks for no personal data beyond what Telegram gives every bot (your chat ID) so it can message you.
Where do the prices come from?
21K prices are read from the official bulletin published by the Jordan Jewellers Syndicate, the global ounce price comes from GoldBroker, and lira prices are calculated from the 21K price.
How accurate is the weekly forecast?
It is a statistical estimate based on the last 24-hour trend plus a random margin, useful for the general direction only. Do not rely on it alone for buying or selling decisions.