get_stores returns empty currencies[] on stores with thousands in trade volume #236

Closed
opened 2026-08-12 23:15:55 +00:00 by coilyco-ops · 0 comments
Member

QA sweep, Eco via Sirens, day 40, 2026-08-12.

Observed

The busiest store on the server comes back with no currency:

{"label":"Upgrade's Store","owner":"Upgrade","location":"237,68,962",
 "tradeCount":48,"buyCount":7,"sellCount":41,"totalVolume":4615.47,
 "currencies":[],
 "topItems":[{"item":"ReinforcedConcreteItem","volume":1145.25,"avgUnitPrice":1.575}, ]}

totalVolume: 4615.47 and per-item avgUnitPrice are computed, but currencies is empty — the volume is denominated in nothing.

Almost certainly the same root cause

get_trades has currency: "" on all 526 detailed rows. See the get_currency attribution issue. Filing separately so this surface gets verified after that fix rather than assumed.

Cross-check

find_trade resolves currency for the same owner's live shelves: "Upgrade's Phantom Springs Stone & Glassworks" selling Cement at 0.6 Spectres. So live store data has currency and the historical ledger path does not.

Expected

currencies populated, and totalVolume broken out per currency — mixing volumes across currencies into a single scalar is not meaningful once more than one currency is in play (185 exist on this server).

QA sweep, Eco via Sirens, day 40, 2026-08-12. ## Observed The busiest store on the server comes back with no currency: ```json {"label":"Upgrade's Store","owner":"Upgrade","location":"237,68,962", "tradeCount":48,"buyCount":7,"sellCount":41,"totalVolume":4615.47, "currencies":[], "topItems":[{"item":"ReinforcedConcreteItem","volume":1145.25,"avgUnitPrice":1.575}, …]} ``` `totalVolume: 4615.47` and per-item `avgUnitPrice` are computed, but `currencies` is empty — the volume is denominated in nothing. ## Almost certainly the same root cause `get_trades` has `currency: ""` on all 526 detailed rows. See the `get_currency` attribution issue. Filing separately so this surface gets verified after that fix rather than assumed. ## Cross-check `find_trade` resolves currency for the same owner's live shelves: "Upgrade's Phantom Springs Stone & Glassworks" selling Cement at 0.6 **Spectres**. So live store data has currency and the historical ledger path does not. ## Expected `currencies` populated, and `totalVolume` broken out per currency — mixing volumes across currencies into a single scalar is not meaningful once more than one currency is in play (185 exist on this server).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-gaming/eco-app#236
No description provided.