Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions backend/metalinfo_news.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"preview": "Irkutsk-based Service TechnoProm LLC has built Russia's biggest centrifugal concentrator for the mining industry, the Irkutsk regional government's press service said. \"This equipment is designed to extract gold, platinum and other valuable metals when ores from hardrock deposits are processed. The Irkutsk model's capacity is up to 1,000 tonnes per hour, and there are very few concentrators like it in the world today,\" the report says, quoting Nikita Kiselev, CEO of Service TechnoProm. The equipment ...",
"keyword": "gold",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=1",
"scraped_at": "2025-07-16 17:38:07"
"scraped_at": "2025-07-18 16:03:17"
},
{
"title": "Putin notes record-high gold prices",
Expand All @@ -15,7 +15,7 @@
"preview": "Russian President Vladimir Putin pointed out that gold prices are at an all-time high at a meeting with Yury Chikhanchin, the head of the Federal Financial Monitoring Service or Rosfinmonitoring. \"Historic high [for the price of gold],\" the Russian leader said in response to Chikhanchin’s assertion that gold prices remain elevated, creating an opportunity to make big profits from buying and selling the precious metal. The Head of state also pointed to the trend of the growing use of gold in ...",
"keyword": "gold",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=1",
"scraped_at": "2025-07-16 17:38:07"
"scraped_at": "2025-07-18 16:03:17"
},
{
"title": "MMK launches production of unique Russian flat steel with innovative coating",
Expand All @@ -24,7 +24,7 @@
"preview": "Magnitogorsk Iron and Steel Works (PJSC MMK) has launched the production of flat steel products featuring an innovative corrosion-resistant coating based on a zinc-aluminum-magnesium (Zn-Al-Mg) alloy. The production technology for this unique steel product was developed by the Scientific and Technical Center of PJSC MMK in collaboration with specialists from the Chief Rolling Department. Flat steel with the new alloyed Zn-Al-Mg coating offers enhanced durability, reliability, and cost efficiency ...",
"keyword": "zinc",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=1",
"scraped_at": "2025-07-16 17:38:07"
"scraped_at": "2025-07-18 16:03:17"
},
{
"title": "Russia’s gold and primary aluminium output rises in April 2025",
Expand All @@ -33,7 +33,7 @@
"preview": "Russia’s gold and primary aluminium output rises in April 2025 However, compared to March 2025, the output declined by 3.8%. In total, for the January-April 2025 period, gold production increased by 6% year-on-year. The production of primary aluminum in April rose by 5.3% compared to April of the previous year, but decreased by 0.7% from March 2025. Over the January-April 2025 period, the output of primary aluminum increased by 2.6% year-on-year. Subscription to news",
"keyword": "gold",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=3",
"scraped_at": "2025-07-16 17:38:18"
"scraped_at": "2025-07-18 16:03:28"
},
{
"title": "Samsung has abandoned Russian metals for displays",
Expand All @@ -42,16 +42,16 @@
"preview": "South Korean Samsung Display has stopped purchasing Russian gold, tungsten and tantalum, according to the company's reports. Previously, these metals were supplied by Krastsvetmet, Solikamsk Magnesium Plant (part of the mining division of State Corporation Rosatom) and other Russian enterprises. Experts do not rule out that the refusal may lead to an increase in the cost of electronics by 2-5%. Samsung Display, part of Samsung Semiconductor, makes screens for smartphones, including the Apple ...",
"keyword": "gold",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=3",
"scraped_at": "2025-07-16 17:38:18"
"scraped_at": "2025-07-18 16:03:28"
},
{
"title": "The technology of production of heat-resistant aluminium alloy from secondary raw materials was created",
"url": "https://www.metalinfo.ru//en/news/172675",
"date": "15 May 2025., 11:00",
"preview": "The breakthrough achieved by scientists was reported by the Press Service of the Ministry of Science and Higher Education of the Russian Federation; specialists of the National University of Science and Technology “MISIS” have patented a heat-resistant aluminum alloy that retains its strength properties after heating up to 400 degrees Celsius and can be produced from scrap metal. The new technology makes it possible to obtain a material with the required properties without complex and expensive ...",
"keyword": "zinc",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=4",
"scraped_at": "2025-07-16 17:38:23"
"source": "https://www.metalinfo.ru/en/news/list.html?pn=5",
"scraped_at": "2025-07-18 16:03:38"
},
{
"title": "Seligdar announces operating results for 1Q2025",
Expand All @@ -60,7 +60,7 @@
"preview": "Seligdar PJSC is one of Russia’s leading gold producers with over 50 years of experience in the mining sector. The Company’s primary mined metals include gold and tin. Seligdar has gold reserves of 285 tonnes and tin reserves of 412 thousand tonnes. The Holding Group's operations are located across seven Russian regions, including the Republic of Sakha (Yakutia), Republic of Buryatia, Altai, Orenburg, Irkutsk, Khabarovsk and Chukotka regions. Seligdar PJSC (MOEX: SELG, hereafter referred to ...",
"keyword": "gold",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=6",
"scraped_at": "2025-07-16 17:38:34"
"scraped_at": "2025-07-18 16:03:44"
},
{
"title": "Gold futures surge above $3,200 for the tirst time since April 2",
Expand All @@ -69,7 +69,7 @@
"preview": "The price of gold futures for June 2025 delivery on Comex (a division of the New York Mercantile Exchange) has risen above $3,200 per troy ounce, according to exchange data. At 01:33 Moscow time, the precious metal was trading at $3,209.7 per troy ounce (+2.17%). By 01:48 Moscow time, gold accelerated its gains, reaching $3,212 per ounce (+2.24%). Gold futures previously hit a historic high on April 2, surpassing the $3,200 mark. At 23:29 Moscow time that day, the price rose 1.12% to $3,201.6 ...",
"keyword": "gold",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=8",
"scraped_at": "2025-07-16 17:38:44"
"scraped_at": "2025-07-18 16:04:16"
},
{
"title": "Seligdar completed over 60% of total amount of work at gold plant of Khvoyny project",
Expand All @@ -78,7 +78,7 @@
"preview": "Polymetallic Holding Group Seligdar (hereinafter referred to as the Holding Group, Seligdar; MOEX: SELG) is on track with the works on construction of the gold processing plant within the Khvoyny project. Currently, more than 85% of metal structures, 76% of sandwich panels and 60% of roofing structures have been installed, and 98% of the foundations for all future production facilities have been completed. The overall readiness of the facility reached 60%. Earlier, with coming of the cold weather, ...",
"keyword": "gold",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=10",
"scraped_at": "2025-07-16 17:39:00"
"scraped_at": "2025-07-18 16:04:26"
},
{
"title": "Russia has potential for zinc consumption",
Expand All @@ -87,6 +87,15 @@
"preview": "Vladislav Polkin, CEO of the National Coordination Center for Zinc Development (NKC), spoke at the 20th International Conference \" Galvanized and Coated Steel: Production and Consumption Trends ,\" organized by the “Metal Supply and Sales” Magazine, about trends in the global and Russian zinc markets. The speaker noted a positive trend in the global economy, including in Russia, where economic indicators for the past year appear quite successful. Globally, the end-use consumption of zinc is distributed ...",
"keyword": "zinc",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=11",
"scraped_at": "2025-07-16 17:39:05"
"scraped_at": "2025-07-18 16:04:32"
},
{
"title": "Metal-Expo'2024 showcases products and solutions from leading non-ferrous metallurgy companies",
"url": "https://www.metalinfo.ru//en/news/165634",
"date": "10 September 2024., 09:02",
"preview": "This year, within the framework of the 30th International Industrial Exhibition Metal-Expo'2024 , the organisers have successfully brought together a number of companies from the non-ferrous metals sector in a single exhibition space. A separate pavilion (No. 8, Hall No. 1) at Expocentre Fairgrounds at Krasnaya Presnya will host leading producers of aluminium, copper, titanium, zinc and non-ferrous metal alloys from 29 October to 1 November. VSMPO-AVISMA Corporation, a leading producer of titanium ...",
"keyword": "zinc",
"source": "https://www.metalinfo.ru/en/news/list.html?pn=12",
"scraped_at": "2025-07-18 16:04:37"
}
]
1 change: 1 addition & 0 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ yfinance
psutil
uvicorn
pytest
httpx
flake8
24 changes: 12 additions & 12 deletions backend/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ def test_historical_data():
assert isinstance(response.json(), list)


def test_forecast():
response = client.get("/forecast/Gold")
assert response.status_code in (200, 404)
if response.status_code == 200:
assert isinstance(response.json(), list)


def test_forecast_days():
response = client.get("/forecast/Gold/days?unit=h&value=24")
assert response.status_code in (200, 404)
if response.status_code == 200:
assert isinstance(response.json(), list)
# def test_forecast():
# response = client.get("/forecast/Gold")
# assert response.status_code in (200, 404)
# if response.status_code == 200:
# assert isinstance(response.json(), list)


# def test_forecast_days():
# response = client.get("/forecast/Gold/days?unit=h&value=24")
# assert response.status_code in (200, 404)
# if response.status_code == 200:
# assert isinstance(response.json(), list)
Loading
Loading