Support Board
Date/Time: Wed, 30 Apr 2025 14:46:10 +0000
Post From: Market Depth: NumOrders is correct, but Quantity always 0
[2025-04-07 09:22:08] |
User431178 - Posts: 656 |
Look at the definition of s_MarketDepthEntry, Quantity is not an integer, it's a double. text.AppendFormat("Ask %d: %.2f | Qty: %.0f | Orders: %d\n", level + 1, entry.Price, entry.Quantity, entry.NumOrders); or text.AppendFormat("Ask %d: %.2f | Qty: %d | Orders: %d\n", level + 1, entry.Price, static_cast<int>(entry.Quantity), entry.NumOrders); |