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.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
v4.0.2 workflow fix
tilakpatel2253f05d655197
diff --git a/.github/workflows/build-cpp.yml b/.github/workflows/build-cpp.ymlindex f02dd340c..36621a0bf 100644--- a/.github/workflows/build-cpp.yml+++ b/.github/workflows/build-cpp.yml@@ -666,6 +666,19 @@ jobs:touch AppDir/usr/share/icons/hicolor/256x256/apps/fincept-terminal.pngfi+ # ── Strip unused Qt SQL driver plugins ───────────────────────────+ # We only use SQLite. linuxdeploy-plugin-qt walks every plugin in+ # Qt's sqldrivers/ folder and tries to resolve its dependencies —+ # the Mimer plugin pulls in libmimerapi.so, which isn't installed+ # on the runner and causes the deploy step to fail.+ QT_SQLDRIVERS="${QT_ROOT_DIR:-$(dirname $(which qmake6 2>/dev/null || which qmake))/..}/plugins/sqldrivers"+ if [ -d "${QT_SQLDRIVERS}" ]; then+ rm -f "${QT_SQLDRIVERS}/libqsqlmimer.so" \+ "${QT_SQLDRIVERS}/libqsqlodbc.so" \+ "${QT_SQLDRIVERS}/libqsqlpsql.so" \+ "${QT_SQLDRIVERS}/libqsqlmysql.so"+ fi+# ── Build AppImage ────────────────────────────────────────────────# UPDATE_INFORMATION embeds zsync update URL so AppImageUpdate can# fetch deltas automatically from the GitHub release.diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 52cfb3fde..f6e86cd6a 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -385,6 +385,18 @@ jobs:export PATH="${QT_ROOT_DIR}/bin:${PATH}"export LD_LIBRARY_PATH="${QT_ROOT_DIR}/lib:${LD_LIBRARY_PATH:-}"+ # ── Strip unused Qt SQL driver plugins ───────────────────────────+ # We only use SQLite. linuxdeploy-plugin-qt walks every plugin in+ # Qt's sqldrivers/ folder and tries to resolve its dependencies —+ # the Mimer plugin pulls in libmimerapi.so, which isn't installed+ # on the runner and causes the deploy step to fail.+ if [ -d "${QT_ROOT_DIR}/plugins/sqldrivers" ]; then+ rm -f "${QT_ROOT_DIR}/plugins/sqldrivers/libqsqlmimer.so" \+ "${QT_ROOT_DIR}/plugins/sqldrivers/libqsqlodbc.so" \+ "${QT_ROOT_DIR}/plugins/sqldrivers/libqsqlpsql.so" \+ "${QT_ROOT_DIR}/plugins/sqldrivers/libqsqlmysql.so"+ fi+# Filename must match the regex in update-manifest:# FinceptTerminal-<version>-linux-x64-setup.run# where <version> is CMAKE_PROJECT_VERSION (e.g. 4.0.2), NOT thediff --git a/fincept-qt/CMakeLists.txt b/fincept-qt/CMakeLists.txtindex 86aafe172..cfee40fcd 100644--- a/fincept-qt/CMakeLists.txt+++ b/fincept-qt/CMakeLists.txt@@ -1894,9 +1894,6 @@ if(WIN32)COMMAND ${CMAKE_COMMAND} -E copy_if_different"${QT_CONSISTENT_PLUGINS}/sqldrivers/qsqlite.dll""$<TARGET_FILE_DIR:FinceptTerminal>/sqldrivers/qsqlite.dll"- COMMAND ${CMAKE_COMMAND} -E copy_if_different- "${QT_CONSISTENT_PLUGINS}/sqldrivers/qsqlmimer.dll"- "$<TARGET_FILE_DIR:FinceptTerminal>/sqldrivers/qsqlmimer.dll"COMMENT "Overwriting sqldrivers with consistent Qt_temp plugins...")endif()diff --git a/fincept-qt/src/services/news/NewsService.cpp b/fincept-qt/src/services/news/NewsService.cppindex 9f67e01ca..156230ba4 100644--- a/fincept-qt/src/services/news/NewsService.cpp+++ b/fincept-qt/src/services/news/NewsService.cpp@@ -394,7 +394,7 @@ void NewsService::summarize_headlines(const QVector<NewsArticle>& articles, intbody["headlines"] = headline_array;body["count"] = count;- HttpClient::instance().post("/news/summarize", body, [this, cb, sig](Result<QJsonDocument> result) {+ HttpClient::instance().post("/news/summarize", body, [cb, sig](Result<QJsonDocument> result) {if (result.is_err()) {LOG_WARN("NewsService", "Summarization failed: " + QString::fromStdString(result.error()));cb(false, {});@@ -760,7 +760,7 @@ void NewsService::enrich_article(NewsArticle& article) {// Language detection — check for CJK, Cyrillic, Arabic, Devanagari charactersauto detect_lang = [](const QString& s) -> QString {- int cjk = 0, cyrillic = 0, arabic = 0, devanagari = 0, latin = 0;+ int cjk = 0, cyrillic = 0, arabic = 0, devanagari = 0;for (const auto& ch : s) {ushort u = ch.unicode();if (u >= 0x4e00 && u <= 0x9fff)@@ -775,8 +775,6 @@ void NewsService::enrich_article(NewsArticle& article) {arabic++;else if (u >= 0x0900 && u <= 0x097f)devanagari++;- else if ((u >= 0x41 && u <= 0x5a) || (u >= 0x61 && u <= 0x7a))- latin++;}int total = s.size();if (total == 0)diff --git a/fincept-qt/src/trading/instruments/GrowwInstrumentParser.cpp b/fincept-qt/src/trading/instruments/GrowwInstrumentParser.cppindex e14b41384..deb69665b 100644--- a/fincept-qt/src/trading/instruments/GrowwInstrumentParser.cpp+++ b/fincept-qt/src/trading/instruments/GrowwInstrumentParser.cpp@@ -197,14 +197,12 @@ QVector<Instrument> GrowwInstrumentParser::parse(const QByteArray& csv_data) {QString header = stream.readLine();Q_UNUSED(header)- int row = 1;int skipped = 0;results.reserve(250000); // Groww has ~200k rows (equity + full F&O chain)while (!stream.atEnd()) {QString line = stream.readLine();if (line.isEmpty())continue;- ++row;// Groww CSV has no quoted fields with commas — simple split is safe.QStringList cols = line.split(',');