Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

v4.2.0 update

tilakpatel22b007d7728de3
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4c27bd99c..cf8018039 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1837,6 +1837,14 @@ jobs:
fi
echo "::warning::submit attempt ${SUBMIT_ATTEMPTS} failed:"
cat "${SUBMIT_JSON}" || true
+ # A 403 "required agreement is missing or has expired" is NOT a
+ # transient/network error — retrying wastes minutes and still fails.
+ # It needs a human to accept Apple's updated agreements. Fail fast.
+ if grep -qi 'agreement' "${SUBMIT_JSON}"; then
+ echo "::error::Apple notary rejected the submission: a required Apple Developer agreement is missing or has expired (HTTP 403). Retrying cannot fix this."
+ echo "::error::FIX (manual, one-time): an Account Holder must sign in at https://developer.apple.com/account, accept the updated Apple Developer Program License Agreement, and check App Store Connect -> Business (Agreements, Tax, and Banking). Then re-run this release."
+ exit 1
+ fi
sleep $((SUBMIT_ATTEMPTS * 30))
done
if [ -z "${SUB_ID}" ]; then
@@ -2052,6 +2060,12 @@ jobs:
fi
echo "::warning::DMG submit attempt ${SUBMIT_ATTEMPTS} failed:"
cat "${SUBMIT_JSON}" || true
+ # See .app notarize step: a 403 agreement error is not transient.
+ if grep -qi 'agreement' "${SUBMIT_JSON}"; then
+ echo "::error::Apple notary rejected the DMG: a required Apple Developer agreement is missing or has expired (HTTP 403). Retrying cannot fix this."
+ echo "::error::FIX (manual, one-time): an Account Holder must accept the updated Apple Developer Program License Agreement at https://developer.apple.com/account, then re-run this release."
+ exit 1
+ fi
sleep $((SUBMIT_ATTEMPTS * 30))
done
if [ -z "${SUB_ID}" ]; then
diff --git a/fincept-qt/src/core/net/NetSpeedMeter.cpp b/fincept-qt/src/core/net/NetSpeedMeter.cpp
index 7d53fbd8b..003236f61 100644
--- a/fincept-qt/src/core/net/NetSpeedMeter.cpp
+++ b/fincept-qt/src/core/net/NetSpeedMeter.cpp
@@ -7,16 +7,18 @@
#if defined(Q_OS_WIN)
// The project defines WIN32_LEAN_AND_MEAN globally, which strips winsock from
-// <windows.h>. Pull the pieces we need explicitly in the right order so
-// MIB_IF_ROW2 / GetIfTable2 (declared in netioapi.h) compile cleanly.
+// <windows.h>. Pull the pieces we need explicitly in the right order: the base
+// winsock2 + windows types MUST be defined before iphlpapi.h / netioapi.h are
+// parsed, otherwise MIB_IF_ROW2 / GetIfTable2 drag in ifdef.h / netioapi.h with
+// DWORD / BOOL / SOCKADDR still undefined → C2146 / C3646 cascade.
# ifndef _WINSOCKAPI_
# define _WINSOCKAPI_ // prevent windows.h from including winsock1
# endif
-# include <iphlpapi.h>
-# include <netioapi.h>
-# include <windows.h>
# include <winsock2.h>
# include <ws2tcpip.h>
+# include <windows.h>
+# include <iphlpapi.h>
+# include <netioapi.h>
# pragma comment(lib, "iphlpapi.lib")
#elif defined(Q_OS_MACOS)
# include <ifaddrs.h>
diff --git a/fincept-qt/src/mcp/tools/DataConnectorManifest.inc b/fincept-qt/src/mcp/tools/DataConnectorManifest.inc
index ab8d92f2e..7a1d699f4 100644
--- a/fincept-qt/src/mcp/tools/DataConnectorManifest.inc
+++ b/fincept-qt/src/mcp/tools/DataConnectorManifest.inc
@@ -65,7 +65,8 @@ static const char* kDataConnectorManifest = R"CONNMANIFEST(
{"name": "data_github_stats", "script": "github_stats_data.py", "desc": "GitHub Stats Data Fetcher", "commands": ["repo", "commits", "contributors", "languages", "search", "trending", "code_frequency", "releases"], "env_keys": ["GITHUB_TOKEN"]},
{"name": "data_glassnode", "script": "glassnode_data.py", "desc": "Glassnode Data Fetcher", "commands": ["active_addresses", "transactions", "hash_rate", "nvt", "sopr", "metrics"], "env_keys": ["GLASSNODE_API_KEY"]},
{"name": "data_global_competitiveness", "script": "global_competitiveness_data.py", "desc": "Global Competitiveness Data Fetcher", "commands": ["infrastructure", "technology", "market", "institutions", "innovation", "rankings"], "env_keys": []},
-{"name": "data_global_debt_monitor", "script": "global_debt_monitor_data.py", "desc": "Global Debt Monitor Data Fetcher", "commands": ["government", "corporate", "household", "total", "service_ratio", "trends"], "env_keys": ["IMF_API_KEY"]},
+)CONNMANIFEST"
+R"CONNMANIFEST({"name": "data_global_debt_monitor", "script": "global_debt_monitor_data.py", "desc": "Global Debt Monitor Data Fetcher", "commands": ["government", "corporate", "household", "total", "service_ratio", "trends"], "env_keys": ["IMF_API_KEY"]},
{"name": "data_global_findex", "script": "global_findex_data.py", "desc": "World Bank Global Findex Data Fetcher", "commands": ["accounts", "digital_payments", "credit", "savings", "mobile_money", "index"], "env_keys": ["WORLDBANK_API_KEY"]},
{"name": "data_global_fishing_watch", "script": "global_fishing_watch_data.py", "desc": "Global Fishing Watch Data Fetcher", "commands": ["search", "tracks", "fishing", "ports", "events", "datasets"], "env_keys": ["GFW_API_KEY"]},
{"name": "data_global_forest_watch", "script": "global_forest_watch_data.py", "desc": "Global Forest Watch Data Fetcher", "commands": ["cover_loss", "alerts", "carbon", "protected", "fires", "countries"], "env_keys": ["GFW_API_KEY"]},
@@ -129,7 +130,8 @@ static const char* kDataConnectorManifest = R"CONNMANIFEST(
{"name": "data_owid_co2", "script": "owid_co2_data.py", "desc": "Our World in Data CO2 & Energy Data Fetcher", "commands": ["country_co2", "global_co2", "energy_mix", "per_capita", "cumulative", "countries"], "env_keys": []},
{"name": "data_paris_agreement", "script": "paris_agreement_data.py", "desc": "Paris Agreement / NDC Registry Data Fetcher", "commands": ["ndc", "emissions", "ndc_content", "targets", "adaptation", "countries"], "env_keys": ["CLIMATE_WATCH_API_KEY"]},
{"name": "data_penn_world_table", "script": "penn_world_table_data.py", "desc": "Penn World Tables Data Fetcher", "commands": ["data", "gdp", "productivity", "trade", "indicators", "countries"], "env_keys": ["PWT_API_KEY"]},
-{"name": "data_pew_research", "script": "pew_research_data.py", "desc": "Pew Research Data Fetcher", "commands": ["surveys", "countries", "survey", "religion", "internet", "attitudes"], "env_keys": []},
+)CONNMANIFEST"
+R"CONNMANIFEST({"name": "data_pew_research", "script": "pew_research_data.py", "desc": "Pew Research Data Fetcher", "commands": ["surveys", "countries", "survey", "religion", "internet", "attitudes"], "env_keys": []},
{"name": "data_platts", "script": "platts_data.py", "desc": "Platts Data Fetcher", "commands": ["assessment", "latest", "symbols", "market", "news", "datasets"], "env_keys": ["PLATTS_API_KEY"]},
{"name": "data_polygon_io", "script": "polygon_io_data.py", "desc": "Polygon.io Data Fetcher", "commands": ["aggregates", "daily", "grouped", "details", "status", "crypto"], "env_keys": ["POLYGON_API_KEY"]},
{"name": "data_port_congestion", "script": "port_congestion_data.py", "desc": "Port Congestion Data Fetcher", "commands": ["global_index", "port", "container_rates", "queue", "ports", "throughput"], "env_keys": ["PORTCHAIN_API_KEY"]},
diff --git a/fincept-qt/src/screens/dashboard/DashboardStatusBar.cpp b/fincept-qt/src/screens/dashboard/DashboardStatusBar.cpp
index 061a5862a..a88839f59 100644
--- a/fincept-qt/src/screens/dashboard/DashboardStatusBar.cpp
+++ b/fincept-qt/src/screens/dashboard/DashboardStatusBar.cpp
@@ -19,8 +19,8 @@
#if defined(Q_OS_WIN)
// windows.h must come first — psapi.h depends on its types (BOOL, WINAPI, …)
// and including psapi.h alone yields C2146 / C2086 cascades.
-# include <psapi.h>
# include <windows.h>
+# include <psapi.h>
#elif defined(Q_OS_MAC)
# include <mach/mach.h>
#elif defined(Q_OS_LINUX)