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
Merge branch 'main' into main
Tilak Patel263ed742e067
diff --cc fincept-qt/src/screens/markets/MarketPanel.cppindex 4cdb58543,b5fa76518..c90dd5cb4--- a/fincept-qt/src/screens/markets/MarketPanel.cpp+++ b/fincept-qt/src/screens/markets/MarketPanel.cpp@@@ -1,11 -1,14 +1,14 @@@#include "screens/markets/MarketPanel.h"-+#include <cmath>#include "ui/theme/Theme.h"#include "ui/theme/ThemeManager.h"+ #include "ui/formatting/NumberFormat.h"-# include "datahub/DataHub.h"-# include "datahub/DataHubMetaTypes.h"+#include "datahub/DataHub.h"+#include "datahub/DataHubMetaTypes.h"+ #include <QApplication>+ #include <QClipboard>#include <QHBoxLayout>#include <QHeaderView>#include <QMenu>@@@ -379,7 -372,7 +387,8 @@@ void MarketPanel::populate(const QVectoelse if (col == "CHG%") table_->setItem(row, ci, mk(QString("%1%2%").arg(arr).arg(std::abs(q.change_pct), 0, 'f', 2), cc));else if (col == "HIGH") table_->setItem(row, ci, mk(QString::number(q.high, 'f', 2), ui::colors::TEXT_SECONDARY()));else if (col == "LOW") table_->setItem(row, ci, mk(QString::number(q.low, 'f', 2), ui::colors::TEXT_SECONDARY()));+ else if (col == "VOL") table_->setItem(row, ci, mk(format_compact_volume(q.volume), ui::colors::TEXT_DIM()));+ else if (col == "VOL") table_->setItem(row, ci, mk(fincept::ui::formatting::format_compact_volume(static_cast<qint64>(q.volume)), ui::colors::TEXT_DIM()));else if (col == "BID") table_->setItem(row, ci, mk("--", ui::colors::TEXT_DIM()));else if (col == "ASK") table_->setItem(row, ci, mk("--", ui::colors::TEXT_DIM()));else if (col == "OPEN") table_->setItem(row, ci, mk("--", ui::colors::TEXT_DIM()));